We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent59a884e commit13a6fa3Copy full SHA for 13a6fa3
src/bin/pg_upgrade/controldata.c
@@ -197,9 +197,14 @@ get_control_data(ClusterInfo *cluster, bool live_check)
197
p++;/* remove ':' char */
198
cluster->controldata.chkpnt_nxtepoch=str2uint(p);
199
200
+/*
201
+ * Delimiter changed from '/' to ':' in 9.6. We don't test for
202
+ * the catalog version of the change because the catalog version
203
+ * is pulled from pg_controldata too, and it isn't worth adding
204
+ * an order dependency for this --- we just check the string.
205
+ */
206
if (strchr(p,'/')!=NULL)
207
p=strchr(p,'/');
-/* delimiter changed from '/' to ':' in 9.6 */
208
elseif (GET_MAJOR_VERSION(cluster->major_version) >=906)
209
p=strchr(p,':');
210
else