Skip to content

Commit a5e5919

Browse files
authored
fix: don't copy custom extension scripts during pg_upgrade (#1291)
1 parent 2d658fc commit a5e5919

File tree

1 file changed

+1
-0
lines changed
  • ansible/files/admin_api_scripts/pg_upgrade_scripts

1 file changed

+1
-0
lines changed

ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ EOF
426426
cp -R /etc/postgresql-custom/* "$MOUNT_POINT/conf/"
427427
# removing supautils config as to allow the latest one provided by the latest image to be used
428428
rm -f "$MOUNT_POINT/conf/supautils.conf" || true
429+
rm -f "$MOUNT_POINT/conf/extension-custom-scripts" || true
429430

430431
# removing wal-g config as to allow it to be explicitly enabled on the new instance
431432
rm -f "$MOUNT_POINT/conf/wal-g.conf"

0 commit comments

Comments
 (0)