Skip to content

Commit e443af6

Browse files
author
Rahul Parande
committed
Fix indentation in pg_dump.c
Signed-off-by: Rahul Parande <[email protected]>
1 parent a63802e commit e443af6

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15903,18 +15903,18 @@ createViewAsClause(Archive *fout, const TableInfo *tbinfo)
1590315903
if (len == 0)
1590415904
{
1590515905
/*
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;
1591815918
}
1591915919

1592015920
/* Strip off the trailing semicolon so that other things may follow. */

0 commit comments

Comments
 (0)