diff options
author | Pavan Deolasee | 2018-08-03 04:18:18 +0000 |
---|---|---|
committer | Pavan Deolasee | 2018-08-03 04:18:18 +0000 |
commit | 8c9e9a36f9be336c891436c5b4bd4f2eeb30619d (patch) | |
tree | 23260b1c9fbb37f1d4df21d11f588bd7891afb2a | |
parent | 3eceb70d92756deaf07ae416dd24540cb63c50fd (diff) |
Fix compilation error introduced in 0e3770c14c3fb1858192feb7240343cb35ba013c
Per report and patch by Wanglin
-rw-r--r-- | src/bin/pg_dump/pg_dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 691c919427..8b42ed92bc 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -16762,7 +16762,7 @@ dumpSequenceData(Archive *fout, TableDataInfo *tdinfo) */ resetPQExpBuffer(query); appendPQExpBufferStr(query, "SELECT pg_catalog.nextval("); - appendStringLiteralAH(query, fmtQualifiedDumpable(tbinfo), fout); + appendStringLiteralAH(query, fmtId(tbinfo->dobj.name), fout); appendPQExpBuffer(query, ");\n"); res = ExecuteSqlQuery(fout, query->data, PGRES_TUPLES_OK); @@ -16770,7 +16770,7 @@ dumpSequenceData(Archive *fout, TableDataInfo *tdinfo) { write_msg(NULL, "query to get nextval of sequence \"%s\" " "returned %d rows (expected 1)\n", - fmtQualifiedDumpable(tbinfo), PQntuples(res)); + fmtId(tbinfo->dobj.name), PQntuples(res)); exit_nicely(1); } |