mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-03 03:16:54 +02:00
Fix another obvious bug pointed out by a compiler warning.
This commit is contained in:
parent
0546906064
commit
88fba7089e
@ -331,13 +331,13 @@ get_rel_infos(migratorContext *ctx, const DbInfo *dbinfo,
|
|||||||
" relname = 'pg_largeobject_loid_pn_index') )) "
|
" relname = 'pg_largeobject_loid_pn_index') )) "
|
||||||
" AND "
|
" AND "
|
||||||
" (relkind = 'r' OR relkind = 't' OR "
|
" (relkind = 'r' OR relkind = 't' OR "
|
||||||
" relkind = 'i'%s)%s"
|
" relkind = 'i'%s)"
|
||||||
"GROUP BY c.oid, n.nspname, c.relname, c.relfilenode,"
|
"GROUP BY c.oid, n.nspname, c.relname, c.relfilenode,"
|
||||||
" c.reltoastrelid, t.spclocation, "
|
" c.reltoastrelid, t.spclocation, "
|
||||||
" n.nspname "
|
" n.nspname "
|
||||||
"ORDER BY n.nspname, c.relname;",
|
"ORDER BY n.nspname, c.relname;",
|
||||||
FirstNormalObjectId,
|
FirstNormalObjectId,
|
||||||
/* see the comment at the top of v8_3_create_sequence_script() */
|
/* see the comment at the top of old_8_3_create_sequence_script() */
|
||||||
(GET_MAJOR_VERSION(ctx->old.major_version) <= 803) ?
|
(GET_MAJOR_VERSION(ctx->old.major_version) <= 803) ?
|
||||||
"" : " OR relkind = 'S'");
|
"" : " OR relkind = 'S'");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user