Skip to content
Draft
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
5 changes: 5 additions & 0 deletions role_scripts/17/primary/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ if [[ "${WAL_BACKUP_TYPE:-0}" == "WALG" ]]; then
else
echo "archive_command = '/bin/true'" >>/tmp/postgresql.conf
fi
# WAL summaries let pg_basebackup --incremental send only the blocks changed since the parent
# backup. Standbys summarize the WAL they replay too, so a promoted standby can keep the chain.
if [[ "${SUMMARIZE_WAL:-off}" == "on" ]]; then
echo "summarize_wal = on" >>/tmp/postgresql.conf
fi

PRELOAD="pg_stat_statements"
if [[ "${TDE_ENABLED:-false}" == "true" ]]; then
Expand Down
5 changes: 5 additions & 0 deletions role_scripts/17/standby/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ if [[ "${WAL_BACKUP_TYPE:-0}" == "WALG" ]]; then
else
echo "archive_command = '/bin/true'" >>/tmp/postgresql.conf
fi
# WAL summaries let pg_basebackup --incremental send only the blocks changed since the parent
# backup. Standbys summarize the WAL they replay too, so a promoted standby can keep the chain.
if [[ "${SUMMARIZE_WAL:-off}" == "on" ]]; then
echo "summarize_wal = on" >>/tmp/postgresql.conf
fi

PRELOAD="pg_stat_statements"
if [[ "${TDE_ENABLED:-false}" == "true" ]]; then
Expand Down
5 changes: 5 additions & 0 deletions role_scripts/18/primary/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ if [[ "${WAL_BACKUP_TYPE:-0}" == "WALG" ]]; then
else
echo "archive_command = '/bin/true'" >>/tmp/postgresql.conf
fi
# WAL summaries let pg_basebackup --incremental send only the blocks changed since the parent
# backup. Standbys summarize the WAL they replay too, so a promoted standby can keep the chain.
if [[ "${SUMMARIZE_WAL:-off}" == "on" ]]; then
echo "summarize_wal = on" >>/tmp/postgresql.conf
fi

PRELOAD="pg_stat_statements"
if [[ "${TDE_ENABLED:-false}" == "true" ]]; then
Expand Down
5 changes: 5 additions & 0 deletions role_scripts/18/standby/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ if [[ "${WAL_BACKUP_TYPE:-0}" == "WALG" ]]; then
else
echo "archive_command = '/bin/true'" >>/tmp/postgresql.conf
fi
# WAL summaries let pg_basebackup --incremental send only the blocks changed since the parent
# backup. Standbys summarize the WAL they replay too, so a promoted standby can keep the chain.
if [[ "${SUMMARIZE_WAL:-off}" == "on" ]]; then
echo "summarize_wal = on" >>/tmp/postgresql.conf
fi

PRELOAD="pg_stat_statements"
if [[ "${TDE_ENABLED:-false}" == "true" ]]; then
Expand Down
Loading