Skip to content

Commit fdb7898

Browse files
committed
refactor(postgres): 03-wal-g -> wal-g
1 parent fcf4c28 commit fdb7898

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ EOF
519519
rm -rf "$MOUNT_POINT/conf/extension-custom-scripts" || true
520520

521521
# removing wal-g config as to allow it to be explicitly enabled on the new instance
522-
rm -f "$MOUNT_POINT/conf/conf.d/03-wal-g.conf"
522+
rm -f "$MOUNT_POINT/conf/conf.d/wal-g.conf"
523523

524524
# copy sql files generated by pg_upgrade
525525
echo "12. Copying sql files generated by pg_upgrade"

ansible/files/postgresql_config/conf.d/03-wal-g.conf renamed to ansible/files/postgresql_config/conf.d/wal-g.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#recovery_target_lsn = ''
1515
#recovery_target_time = ''
1616
#recovery_target_action = 'promote'
17-
#recovery_target_timeline = 'current'
17+
#recovery_target_timeline = 'latest'
1818
#recovery_target_inclusive = off
1919

2020
# - Hot Standby -

ansible/tasks/setup-wal-g.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@
6060
mode: '0664'
6161
when: stage2_nix
6262

63-
- name: Move custom wal-g.conf file to /etc/postgresql-custom/conf.d/03-wal-g.conf
63+
- name: Move custom wal-g.conf file to /etc/postgresql-custom/conf.d/wal-g.conf
6464
copy:
65-
src: "files/postgresql_config/conf.d/03-custom_walg.conf"
66-
dest: /etc/postgresql-custom/conf.d/03-wal-g.conf
65+
src: "files/postgresql_config/conf.d/walg.conf"
66+
dest: /etc/postgresql-custom/conf.d/wal-g.conf
6767
mode: 0664
6868
owner: postgres
6969
group: postgres

0 commit comments

Comments
 (0)