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 parent0857a84 commit3302334Copy full SHA for 3302334
contrib/pg_upgrade/info.c
@@ -310,13 +310,16 @@ get_rel_infos(ClusterInfo *cluster, DbInfo *dbinfo)
310
") OR ( "
311
"n.nspname = 'pg_catalog' "
312
"AND relname IN "
313
-" ('pg_largeobject', 'pg_largeobject_loid_pn_index') )) "
+" ('pg_largeobject', 'pg_largeobject_loid_pn_index'%s) )) "
314
"AND relkind IN ('r','t', 'i'%s)"
315
"GROUP BY c.oid, n.nspname, c.relname, c.relfilenode,"
316
"c.reltoastrelid, t.spclocation, "
317
"n.nspname "
318
"ORDER BY t.spclocation, n.nspname, c.relname;",
319
FirstNormalObjectId,
320
+/* does pg_largeobject_metadata need to be migrated? */
321
+ (GET_MAJOR_VERSION(old_cluster.major_version) <=804) ?
322
+"" :", 'pg_largeobject_metadata', 'pg_largeobject_metadata_oid_index'",
323
/* see the comment at the top of old_8_3_create_sequence_script() */
324
(GET_MAJOR_VERSION(old_cluster.major_version) <=803) ?
325
"" :", 'S'");