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
echo"max_wal_senders = 90">>/tmp/postgresql.conf # default is 10. value must be less than max_connections minus superuser_reserved_connections. ref: https://www.postgresql.org/docs/11/runtime-config-replication.html#GUC-MAX-WAL-SENDERS
echo"max_wal_senders = 90">>/tmp/postgresql.conf # default is 10. value must be less than max_connections minus superuser_reserved_connections. ref: https://www.postgresql.org/docs/11/runtime-config-replication.html#GUC-MAX-WAL-SENDERS
echo"max_wal_senders = 90">>/tmp/postgresql.conf # default is 10. value must be less than max_connections minus superuser_reserved_connections. ref: https://www.postgresql.org/docs/11/runtime-config-replication.html#GUC-MAX-WAL-SENDERS
echo"max_wal_senders = 90">>/tmp/postgresql.conf # default is 10. value must be less than max_connections minus superuser_reserved_connections. ref: https://www.postgresql.org/docs/11/runtime-config-replication.html#GUC-MAX-WAL-SENDERS
echo"max_wal_senders = 90">>/tmp/postgresql.conf # default is 10. value must be less than max_connections minus superuser_reserved_connections. ref: https://www.postgresql.org/docs/11/runtime-config-replication.html#GUC-MAX-WAL-SENDERS
echo"max_wal_senders = 90">>/tmp/postgresql.conf # default is 10. value must be less than max_connections minus superuser_reserved_connections. ref: https://www.postgresql.org/docs/11/runtime-config-replication.html#GUC-MAX-WAL-SENDERS
echo"max_wal_senders = 90">>/tmp/postgresql.conf # default is 10. value must be less than max_connections minus superuser_reserved_connections. ref: https://www.postgresql.org/docs/11/runtime-config-replication.html#GUC-MAX-WAL-SENDERS
echo"max_wal_senders = 90">>/tmp/postgresql.conf # default is 10. value must be less than max_connections minus superuser_reserved_connections. ref: https://www.postgresql.org/docs/11/runtime-config-replication.html#GUC-MAX-WAL-SENDERS
echo"max_wal_senders = 90">>/tmp/postgresql.conf # default is 10. value must be less than max_connections minus superuser_reserved_connections. ref: https://www.postgresql.org/docs/11/runtime-config-replication.html#GUC-MAX-WAL-SENDERS
echo"max_wal_senders = 90">>/tmp/postgresql.conf # default is 10. value must be less than max_connections minus superuser_reserved_connections. ref: https://www.postgresql.org/docs/11/runtime-config-replication.html#GUC-MAX-WAL-SENDERS
74
74
75
-
echo"wal_keep_segments = 1024">>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
75
+
#echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
76
+
if [ !-z"${WAL_RETAIN_PARAM:-}" ] && [ !-z"${WAL_RETAIN_AMOUNT:-}" ];then
echo"max_wal_senders = 90">>/tmp/postgresql.conf # default is 10. value must be less than max_connections minus superuser_reserved_connections. ref: https://www.postgresql.org/docs/11/runtime-config-replication.html#GUC-MAX-WAL-SENDERS
88
112
89
-
echo"wal_keep_segments = 1024">>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
113
+
# echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
114
+
if [ !-z"${WAL_RETAIN_PARAM:-}" ] && [ !-z"${WAL_RETAIN_AMOUNT:-}" ];then
echo"max_wal_senders = 90">>/tmp/postgresql.conf # default is 10. value must be less than max_connections minus superuser_reserved_connections. ref: https://www.postgresql.org/docs/11/runtime-config-replication.html#GUC-MAX-WAL-SENDERS
22
22
23
-
echo"wal_keep_segments = 1024">>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
23
+
# echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
24
+
if [ !-z"${WAL_RETAIN_PARAM:-}" ] && [ !-z"${WAL_RETAIN_AMOUNT:-}" ];then
echo"max_wal_senders = 90">>/tmp/postgresql.conf # default is 10. value must be less than max_connections minus superuser_reserved_connections. ref: https://www.postgresql.org/docs/11/runtime-config-replication.html#GUC-MAX-WAL-SENDERS
echo"max_wal_senders = 90">>/tmp/postgresql.conf # default is 10. value must be less than max_connections minus superuser_reserved_connections. ref: https://www.postgresql.org/docs/11/runtime-config-replication.html#GUC-MAX-WAL-SENDERS
74
74
75
-
echo"wal_keep_size = 1024">>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
75
+
# echo "wal_keep_size = 1024" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
76
+
if [ !-z"${WAL_RETAIN_PARAM:-}" ] && [ !-z"${WAL_RETAIN_AMOUNT:-}" ];then
echo"max_wal_senders = 90">>/tmp/postgresql.conf # default is 10. value must be less than max_connections minus superuser_reserved_connections. ref: https://www.postgresql.org/docs/11/runtime-config-replication.html#GUC-MAX-WAL-SENDERS
88
112
89
-
echo"wal_keep_size = 1024">>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
90
-
113
+
# echo "wal_keep_size = 1024" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
114
+
if [ !-z"${WAL_RETAIN_PARAM:-}" ] && [ !-z"${WAL_RETAIN_AMOUNT:-}" ];then
0 commit comments