File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15822,7 +15822,6 @@ dumpTable(Archive *fout, const TableInfo *tbinfo)
15822
15822
free(namecopy);
15823
15823
}
15824
15824
15825
-
15826
15825
/*
15827
15826
* Create a dummy AS clause for a view. This is used when the real view
15828
15827
* definition has to be postponed because of circular dependencies.
@@ -15878,6 +15877,7 @@ createViewAsClause(Archive *fout, const TableInfo *tbinfo)
15878
15877
{
15879
15878
PQExpBuffer query = createPQExpBuffer();
15880
15879
PQExpBuffer result = createPQExpBuffer();
15880
+ PQExpBuffer dummyResult = createPQExpBuffer();
15881
15881
PGresult *res;
15882
15882
int len;
15883
15883
@@ -15910,7 +15910,7 @@ createViewAsClause(Archive *fout, const TableInfo *tbinfo)
15910
15910
destroyPQExpBuffer(query);
15911
15911
15912
15912
/* Use createDummyViewAsClause to generate a compatible structure */
15913
- PQExpBuffer dummyResult = createDummyViewAsClause(fout, tbinfo);
15913
+ dummyResult = createDummyViewAsClause(fout, tbinfo);
15914
15914
appendPQExpBuffer(result, "%s", dummyResult->data);
15915
15915
destroyPQExpBuffer(dummyResult);
15916
15916
You can’t perform that action at this time.
0 commit comments