File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -15903,18 +15903,18 @@ createViewAsClause(Archive *fout, const TableInfo *tbinfo)
15903
15903
if (len == 0)
15904
15904
{
15905
15905
/*
15906
- * Handle broken views (with empty definitions)
15907
- * Instead of failing, create a dummy SELECT that preserves the structure
15908
- */
15909
- PQclear(res);
15910
- destroyPQExpBuffer(query);
15911
-
15912
- /* Use createDummyViewAsClause to generate a compatible structure */
15913
- PQExpBuffer dummyResult = createDummyViewAsClause(fout, tbinfo);
15914
- appendPQExpBuffer(result, "%s", dummyResult->data);
15915
- destroyPQExpBuffer(dummyResult);
15916
-
15917
- return result;
15906
+ * Handle broken views (with empty definitions)
15907
+ * Instead of failing, create a dummy SELECT that preserves the structure
15908
+ */
15909
+ PQclear(res);
15910
+ destroyPQExpBuffer(query);
15911
+
15912
+ /* Use createDummyViewAsClause to generate a compatible structure */
15913
+ PQExpBuffer dummyResult = createDummyViewAsClause(fout, tbinfo);
15914
+ appendPQExpBuffer(result, "%s", dummyResult->data);
15915
+ destroyPQExpBuffer(dummyResult);
15916
+
15917
+ return result;
15918
15918
}
15919
15919
15920
15920
/* Strip off the trailing semicolon so that other things may follow. */
You can’t perform that action at this time.
0 commit comments