Skip to content

Commit 92097fd

Browse files
author
Sergey Shinderuk
committed
README: mention adding to shared_preload_libraries
Fixes #65
1 parent b8037cf commit 92097fd

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Diff for: README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,17 @@ Typical installation procedure may look like this:
7373
$ cd pg_wait_sampling
7474
$ make USE_PGXS=1
7575
$ sudo make USE_PGXS=1 install
76+
77+
Then add `shared_preload_libraries = pg_wait_sampling` to `postgresql.conf` and
78+
restart the server.
79+
80+
To test your installation:
81+
7682
$ make USE_PGXS=1 installcheck
77-
$ psql DB -c "CREATE EXTENSION pg_wait_sampling;"
83+
84+
To create the extension in the target database:
85+
86+
CREATE EXTENSION pg_wait_sampling;
7887

7988
Compilation on Windows is not supported, since the extension uses symbols from PostgreSQL
8089
that are not exported.

0 commit comments

Comments
 (0)