Skip to content

Commit 3e156e2

Browse files
committed
Described Windows support and modified uninstalling
1 parent 2a762ab commit 3e156e2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

advocacy_docs/pg_extensions/wait_states/installing.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ To install EDB Wait States on a Linux system:
5858

5959
## On Windows
6060

61-
To install EDB Wait States on a Windows system:
62-
63-
1. To install the EDB Wait States module with the `EDB Modules` installer, invoke the StackBuilder Plus utility. Follow the onscreen instructions to finish installing the `EDB Modules`.
61+
An EDB Postgres Advanced Server installation includes support for EDB Wait States. After installing EDB Postgres Advanced Server, some additional steps are necessary to activate EDB Wait States.
6462

6563
1. To register the worker, modify the `postgresql.conf` file to include the EDB Wait States library in the `shared_preload_libraries` configuration parameter. The parameter value must include:
6664

@@ -71,9 +69,11 @@ To install EDB Wait States on a Windows system:
7169
The EDB Wait States installation places the `edb_wait_states.dll` library file in the following path:
7270

7371
```text
74-
C:\Program Files\edb\as14\lib\
72+
C:\Program Files\edb\as<xx>\lib\
7573
```
7674

75+
where `<xx>` is the EDB Postgres Advanced Server version, such as `as16`.
76+
7777
1. Restart the database server to make the changes take effect. After a successful restart, the background worker starts and begins collecting the data.
7878

7979
1. To view the data, create the following extension:
@@ -93,7 +93,7 @@ C:\Program Files\edb\as14\share\extension
9393
To uninstall EDB Wait States:
9494

9595
1. Use the `DROP EXTENSION` command to drop the `edb_wait_states` extension.
96-
1. Modify the `postgresql.conf` file, removing `$libdir/edb_wait_states.dll` from the `shared_preload_libraries` parameter.
96+
1. Modify the `postgresql.conf` file, removing `$libdir/edb_wait_states` (for Linux) or `$libdir/edb_wait_states.dll` (for Windows) from the `shared_preload_libraries` parameter.
9797
1. To apply your changes, restart the database server.
9898

9999

0 commit comments

Comments
 (0)