Skip to content

Commit 01dd3ce

Browse files
committed
Merge branch 'comment-out-standby-mode' into 'master'
standby_mode was removed in Postgres 12 See merge request postgres-ai/database-lab!231
2 parents c216c96 + fc4bb82 commit 01dd3ce

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

configs/config.example.physical_generic.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ retrieval:
170170

171171
# Add PostgreSQL recovery configuration parameters to the sync container.
172172
recovery:
173-
standby_mode: on
173+
# Uncomment this only if you are on Postgres version 11 or older.
174+
# standby_mode: on
174175

175176
# Set environment variables here. See https://www.postgresql.org/docs/current/libpq-envars.html
176177
envs:
@@ -227,7 +228,8 @@ retrieval:
227228

228229
# Add PostgreSQL recovery configuration parameters to the promotion container.
229230
recovery:
230-
standby_mode: on
231+
# Uncomment this only if you are on Postgres version 11 or older.
232+
# standby_mode: on
231233

232234
# It is possible to define a pre-precessing script. For example, "/tmp/scripts/custom.sh".
233235
# Default: empty string (no pre-processing defined).

configs/config.example.physical_walg.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ retrieval:
170170

171171
# Add PostgreSQL recovery configuration parameters to the sync container.
172172
recovery:
173-
standby_mode: on
173+
# Uncomment this only if you are on Postgres version 11 or older.
174+
# standby_mode: on
174175

175176
# Passes custom environment variables to the Docker container with the restoring tool.
176177
envs:
@@ -217,7 +218,8 @@ retrieval:
217218

218219
# Add PostgreSQL recovery configuration parameters to the promotion container.
219220
recovery:
220-
standby_mode: on
221+
# Uncomment this only if you are on Postgres version 11 or older.
222+
# standby_mode: on
221223

222224
# It is possible to define a pre-precessing script. For example, "/tmp/scripts/custom.sh".
223225
# Default: empty string (no pre-processing defined).

0 commit comments

Comments
 (0)