Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase default wall keep size #18

Merged
merged 1 commit into from
Aug 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion role_scripts/10/primary/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_segments = 64" >>/tmp/postgresql.conf
echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf

echo "wal_log_hints = on" >>/tmp/postgresql.conf
echo "archive_mode = always" >>/tmp/postgresql.conf
Expand Down
2 changes: 1 addition & 1 deletion role_scripts/10/standby/ha_backup_job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ touch /tmp/postgresql.conf
echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_segments = 64" >>/tmp/postgresql.conf
echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/10/standby/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ touch /tmp/postgresql.conf
echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_segments = 64" >>/tmp/postgresql.conf
echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/10/standby/warm_stanby.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ touch /tmp/postgresql.conf
echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_segments = 64" >>/tmp/postgresql.conf
echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/11/primary/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_segments = 64" >>/tmp/postgresql.conf
echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf

echo "wal_log_hints = on" >>/tmp/postgresql.conf
echo "archive_mode = always" >>/tmp/postgresql.conf
Expand Down
2 changes: 1 addition & 1 deletion role_scripts/11/standby/ha_backup_job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ touch /tmp/postgresql.conf
echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_segments = 64" >>/tmp/postgresql.conf
echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/11/standby/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ touch /tmp/postgresql.conf
echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_segments = 64" >>/tmp/postgresql.conf
echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/11/standby/warm_stanby.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ touch /tmp/postgresql.conf
echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_segments = 64" >>/tmp/postgresql.conf
echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/12/primary/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_segments = 64" >>/tmp/postgresql.conf
echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/12/standby/ha_backup_job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_segments = 64" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/12/standby/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_segments = 64" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/12/standby/warm_stanby.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_segments = 64" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/13/primary/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_size = 64" >>/tmp/postgresql.conf
echo "wal_keep_size = 1024" >>/tmp/postgresql.conf

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/13/standby/ha_backup_job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_size = 64" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
echo "wal_keep_size = 1024" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/13/standby/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_size = 64" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
echo "wal_keep_size = 1024" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/13/standby/warm_stanby.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_size = 64" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
echo "wal_keep_size = 1024" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/14/primary/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_size = 64" >>/tmp/postgresql.conf
echo "wal_keep_size = 1024" >>/tmp/postgresql.conf

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/14/standby/ha_backup_job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_size = 64" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
echo "wal_keep_size = 1024" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/14/standby/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_size = 64" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
echo "wal_keep_size = 1024" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/14/standby/warm_stanby.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_size = 64" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
echo "wal_keep_size = 1024" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/15/primary/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_size = 64" >>/tmp/postgresql.conf
echo "wal_keep_size = 1024" >>/tmp/postgresql.conf

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/15/standby/ha_backup_job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_size = 64" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
echo "wal_keep_size = 1024" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/15/standby/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_size = 64" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
echo "wal_keep_size = 1024" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/15/standby/warm_stanby.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_size = 64" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13
echo "wal_keep_size = 1024" >>/tmp/postgresql.conf #it was "wal_keep_segments" in earlier version. changed in version 13

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/9/primary/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_segments = 64" >>/tmp/postgresql.conf
echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf

echo "wal_log_hints = on" >>/tmp/postgresql.conf
echo "archive_mode = always" >>/tmp/postgresql.conf
Expand Down
2 changes: 1 addition & 1 deletion role_scripts/9/standby/ha_backup_job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ touch /tmp/postgresql.conf
echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_segments = 64" >>/tmp/postgresql.conf
echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/9/standby/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ touch /tmp/postgresql.conf
echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_segments = 64" >>/tmp/postgresql.conf
echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down
2 changes: 1 addition & 1 deletion role_scripts/9/standby/warm_stanby.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ touch /tmp/postgresql.conf
echo "wal_level = replica" >>/tmp/postgresql.conf
echo "shared_buffers = $SHARED_BUFFERS" >>/tmp/postgresql.conf
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 "wal_keep_segments = 64" >>/tmp/postgresql.conf
echo "wal_keep_segments = 1024" >>/tmp/postgresql.conf

echo "wal_log_hints = on" >>/tmp/postgresql.conf

Expand Down