Skip to content

Commit db0df9b

Browse files
authored
postgres superuser note (#227)
* postgres superuser note
1 parent 171d88f commit db0df9b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

apps/docs/content/postgresql/how-to/manage.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,18 @@ You can list all available PostgreSQL plugins by running the following query *(s
114114
SELECT * FROM pg_available_extensions ORDER BY name;
115115
```
116116

117-
To install plugins, you must **connect as a superuser** (`postgres`) and run the appropriate CREATE EXTENSION command. For example:
117+
To install plugins, you must **connect as a superuser** (see note below) and run the appropriate CREATE EXTENSION command. For example:
118118

119119
```sql
120120
CREATE EXTENSION pg_stat_statements;
121121
CREATE EXTENSION vector;
122122
CREATE EXTENSION postgis;
123123
```
124124

125+
:::info Superuser Credentials
126+
The PostgreSQL superuser credentials can be found in the `superUser` and `superUserPassword` environment variables of your PostgreSQL service.
127+
:::
128+
125129
:::warning
126130
Currently, it is not possible to add new plugins that are not already listed in `pg_available_extensions`.
127131
:::
@@ -170,4 +174,4 @@ unaccent.rules
170174
```
171175
</DropdownItem>
172176
</Dropdown>
173-
For more information on text search dictionaries, refer to the [PostgreSQL documentation](https://www.postgresql.org/docs/16/textsearch-dictionaries.html).
177+
For more information on text search dictionaries, refer to the [PostgreSQL documentation](https://www.postgresql.org/docs/16/textsearch-dictionaries.html).

0 commit comments

Comments
 (0)