summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-05-14 00:43:42 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-05-14 00:43:42 +0000
commit88fba7089edb6091dd2f848ed69e05cef609b5ad (patch)
treef80d0da0352aa7d7b464b845036879d5b9ae2df9
parent0546906064cead624981855ac6c7e7869dbe96ac (diff)
Fix another obvious bug pointed out by a compiler warning.
-rw-r--r--contrib/pg_upgrade/info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pg_upgrade/info.c b/contrib/pg_upgrade/info.c
index 75a29e3d8f6..4fcaeb22d44 100644
--- a/contrib/pg_upgrade/info.c
+++ b/contrib/pg_upgrade/info.c
@@ -331,13 +331,13 @@ get_rel_infos(migratorContext *ctx, const DbInfo *dbinfo,
" relname = 'pg_largeobject_loid_pn_index') )) "
" AND "
" (relkind = 'r' OR relkind = 't' OR "
- " relkind = 'i'%s)%s"
+ " relkind = 'i'%s)"
"GROUP BY c.oid, n.nspname, c.relname, c.relfilenode,"
" c.reltoastrelid, t.spclocation, "
" n.nspname "
"ORDER BY n.nspname, c.relname;",
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) ?
"" : " OR relkind = 'S'");