File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
ansible/files/admin_api_scripts/pg_upgrade_scripts Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -285,6 +285,11 @@ function initiate_upgrade {
285
285
EOF
286
286
)
287
287
288
+ # copying custom configurations
289
+ echo " 11. Copying custom configurations"
290
+ mkdir -p " $MOUNT_POINT /conf"
291
+ cp -R /etc/postgresql-custom/* " $MOUNT_POINT /conf/"
292
+
288
293
if [ " $IS_DRY_RUN " = true ]; then
289
294
UPGRADE_COMMAND=" $UPGRADE_COMMAND --check"
290
295
else
302
307
303
308
su -c " $UPGRADE_COMMAND " -s " $SHELL " postgres
304
309
305
- # copying custom configurations
306
- echo " 11. Copying custom configurations"
307
- mkdir -p " $MOUNT_POINT /conf"
308
- cp -R /etc/postgresql-custom/* " $MOUNT_POINT /conf/"
309
-
310
310
# removing wal-g config as to allow it to be explicitly enabled on the new instance
311
311
rm -f " $MOUNT_POINT /conf/wal-g.conf"
312
312
Original file line number Diff line number Diff line change 1
- postgres-version = " 15.1.1.24"
1
+ postgres-version = " 15.1.1.24-pg-upgrade "
You can’t perform that action at this time.
0 commit comments