You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -258,26 +258,26 @@ For Windsurf, the format in `mcp_config.json` is slightly different:
258
258
259
259
## Postgres Extension Installation (Optional)
260
260
261
-
To enable index tuning and comprehensive performance analysis you need to load the `pg_statements` and `hypopg` extensions on your database.
261
+
To enable index tuning and comprehensive performance analysis you need to load the `pg_stat_statements` and `hypopg` extensions on your database.
262
262
263
-
- The `pg_statements` extension allows Postgres MCP Pro to analyze query execution statistics.
263
+
- The `pg_stat_statements` extension allows Postgres MCP Pro to analyze query execution statistics.
264
264
For example, this allows it to understand which queries are running slow or consuming significant resources.
265
265
- The `hypopg` extension allows Postgres MCP Pro to simulate the behavior of the Postgres query planner after adding indexes.
266
266
267
267
### Installing extensions on AWS RDS, Azure SQL, or Google Cloud SQL
268
268
269
-
If your Postgres database is running on a cloud provider managed service, the `pg_statements` and `hypopg` extensions should already be available on the system.
269
+
If your Postgres database is running on a cloud provider managed service, the `pg_stat_statements` and `hypopg` extensions should already be available on the system.
270
270
In this case, you can just run `CREATE EXTENSION` commands using a role with sufficient privileges:
271
271
272
272
```sql
273
-
CREATE EXTENSION IF NOT EXISTS pg_statements;
273
+
CREATE EXTENSION IF NOT EXISTS pg_stat_statements;
274
274
CREATE EXTENSION IF NOT EXISTS hypopg;
275
275
```
276
276
277
277
### Installing extensions on self-managed Postgres
278
278
279
279
If you are managing your own Postgres installation, you may need to do additional work.
280
-
Before loading the `pg_statements` extension you must ensure that it is listed in the `shared_preload_libraries` in the Postgres configuration file.
280
+
Before loading the `pg_stat_statements` extension you must ensure that it is listed in the `shared_preload_libraries` in the Postgres configuration file.
281
281
The `hypopg` extension may also require additional system-level installation (e.g., via your package manager) because it does not always ship with Postgres.
0 commit comments