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 parent845626f commit9a22ea2Copy full SHA for 9a22ea2
contrib/pg_upgrade/info.c
@@ -331,13 +331,16 @@ get_rel_infos(migratorContext *ctx, const DbInfo *dbinfo,
331
") OR ( "
332
"n.nspname = 'pg_catalog' "
333
"AND relname IN "
334
-" ('pg_largeobject', 'pg_largeobject_loid_pn_index') )) "
+" ('pg_largeobject', 'pg_largeobject_loid_pn_index'%s) )) "
335
"AND relkind IN ('r','t', 'i'%s)"
336
"GROUP BY c.oid, n.nspname, c.relname, c.relfilenode,"
337
"c.reltoastrelid, t.spclocation, "
338
"n.nspname "
339
"ORDER BY n.nspname, c.relname;",
340
FirstNormalObjectId,
341
+/* does pg_largeobject_metadata need to be migrated? */
342
+ (GET_MAJOR_VERSION(ctx->old.major_version) <=804) ?
343
+"" :", 'pg_largeobject_metadata', 'pg_largeobject_metadata_oid_index'",
344
/* see the comment at the top of old_8_3_create_sequence_script() */
345
(GET_MAJOR_VERSION(ctx->old.major_version) <=803) ?
346
"" :", 'S'");