We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e2e12c commit 7afa8beCopy full SHA for 7afa8be
contrib/pg_upgrade/test.sh
@@ -107,13 +107,16 @@ initdb
107
pg_upgrade -d "${PGDATA}.old" -D "${PGDATA}" -b "$oldbindir" -B "$bindir"
108
109
pg_ctl start -l "$logdir/postmaster2.log" -w
110
+sh ./analyze_new_cluster.sh
111
pg_dumpall >"$temp_root"/dump2.sql || pg_dumpall2_status=$?
112
pg_ctl -m fast stop
113
if [ -n "$pg_dumpall2_status" ]; then
114
echo "pg_dumpall of post-upgrade database cluster failed"
115
exit 1
116
fi
117
118
+sh ./delete_old_cluster.sh
119
+
120
if diff -q "$temp_root"/dump1.sql "$temp_root"/dump2.sql; then
121
echo PASSED
122
exit 0
0 commit comments