Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 67899ac

Browse files
committed
Fix incorrect merge
1 parent 70a3c18 commit 67899ac

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2170,7 +2170,7 @@ dumpTableData(Archive *fout, TableDataInfo *tdinfo)
21702170
dumpFn = dumpTableData_copy;
21712171
/* must use 2 steps here 'cause fmtId is nonreentrant */
21722172
appendPQExpBuffer(copyBuf, "COPY %s ",
2173-
fmtId(tbinfo->dobj.name));
2173+
fmtQualifiedDumpable(tbinfo));
21742174
appendPQExpBuffer(copyBuf, "%s %sFROM stdin;\n",
21752175
fmtCopyColumnList(tbinfo, clistBuf),
21762176
(tdinfo->oids && tbinfo->hasoids) ? "WITH OIDS " : "");
@@ -17767,8 +17767,6 @@ dumpStatistic(Archive* fout, DumpOptions* dopt, TableInfo *tbinfo)
1776717767
int field;
1776817768
int i_starelid;
1776917769

17770-
/* Make sure we are in proper schema */
17771-
selectSourceSchema(fout, "pg_catalog");
1777217770

1777317771
appendPQExpBuffer(q, "DECLARE _pg_dump_cursor CURSOR FOR ");
1777417772

0 commit comments

Comments
 (0)