Skip to content

Commit 02b9941

Browse files
committed
Update README.md
1 parent 8b55e96 commit 02b9941

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,14 @@ To make the extension available to the database add on `postgresql.conf`:
118118
shared_preload_libraries = 'pg_net'
119119
```
120120
121+
By default, pg_net is available on the `postgres` database. To use pg_net on a different database, you can add the following on `postgresql.conf`:
122+
123+
```
124+
pg_net.database_name = '<dbname>';
125+
```
126+
127+
Using pg_net on multiple databases in a cluster is not supported.
128+
121129
### Installing in PostgreSQL
122130
123131
To activate the extension in PostgreSQL, run the create extension command. The extension creates its own schema named net to avoid naming conflicts.

0 commit comments

Comments
 (0)