From 4ceab50debc769f9db0406591448c46a499d0b48 Mon Sep 17 00:00:00 2001 From: piano35-edb <160748516+piano35-edb@users.noreply.github.com> Date: Fri, 17 May 2024 11:38:31 -0500 Subject: [PATCH] remove unnecessary config steps --- .../system_stats/configuring.mdx | 24 ++----------------- .../pg_extensions/wal2json/configuring.mdx | 9 +------ 2 files changed, 3 insertions(+), 30 deletions(-) diff --git a/advocacy_docs/pg_extensions/system_stats/configuring.mdx b/advocacy_docs/pg_extensions/system_stats/configuring.mdx index c35077c80e8..b663a27bcbe 100644 --- a/advocacy_docs/pg_extensions/system_stats/configuring.mdx +++ b/advocacy_docs/pg_extensions/system_stats/configuring.mdx @@ -2,31 +2,11 @@ title: Configuring system_stats navTitle: Configuring --- - -1. Add `system_stats` to the `shared_preload_libraries` parameter: - - ```ini - shared_preload_libraries = 'system_stats' - ``` - - !!! Note - If `shared_preload_libraries` has other extensions, then you can add `system_stats` to the list. The order doesn't matter. - !!! - -1. Add these changes to `postgresql.conf`: - - ```shell - wal_level = logical - max_replication_slots = 1 # ... or add 1 to the current value. - ``` - -1. Restart Postgres. - 1. Create the `system_stats` extension in your database: ```shell CREATE EXTENSION system_stats; ``` -!!! Note - When upgrading a database cluster with `system_stats` installed (either using `pg_dumpall`/`pg_restore` or `pg_upgrade`), make sure that the new cluster has `system_stats` in `shared_preload_libraries` before you upgrade. Otherwise the upgrade fails. + +No other configuration steps are required. diff --git a/advocacy_docs/pg_extensions/wal2json/configuring.mdx b/advocacy_docs/pg_extensions/wal2json/configuring.mdx index 2d66c1cca2f..af29b6353a6 100644 --- a/advocacy_docs/pg_extensions/wal2json/configuring.mdx +++ b/advocacy_docs/pg_extensions/wal2json/configuring.mdx @@ -6,14 +6,7 @@ navTitle: Configuring ```shell wal_level = logical - # - # these parameters only need to set in versions 9.4, 9.5 and 9.6 - # default values are ok in version 10 or later - # -max_replication_slots = 10 -max_wal_senders = 10 ``` -!!! Note - When upgrading a database cluster with `wal2json` installed (either using `pg_dumpall`/`pg_restore` or `pg_upgrade`), make sure that the new cluster has `wal2json` in `shared_preload_libraries` before you upgrade. Otherwise the upgrade fails. +No other configuration steps are required.