Skip to content

Commit

Permalink
docs: extensions parameter overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
soedirgo committed Jan 30, 2024
1 parent b126501 commit 09bd91b
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,28 @@ DETAIL: required CPUs: 16
HINT: upgrade to an instance with higher resources
```

This feature is only available from PostgreSQL 13 onwards.
## Extensions Parameter Overrides

You can override `CREATE EXTENSION` parameters like so:

```
supautils.extensions_parameter_overrides = '{ "pg_cron": { "schema": "pg_catalog" } }'
```

Currently, only the `schema` parameter is supported.

These overrides will apply on `CREATE EXTENSION`, e.g.:

```sql
postgres=> create extension pg_cron schema public;
CREATE EXTENSION
postgres=> \dx pg_cron
List of installed extensions
Name | Version | Schema | Description
---------+---------+------------+------------------------------
pg_cron | 1.5 | pg_catalog | Job scheduler for PostgreSQL
(1 row)
```

## Development

Expand Down

0 comments on commit 09bd91b

Please sign in to comment.