mirror of
https://github.com/postgres/postgres.git
synced 2025-07-24 14:22:24 +03:00
pg_upgrade: Fix indentation of if() block
Incorrect indentation introduced in commit
3d2e185109
.
Reported-by: Andres Freund
Backpatch-through: 9.3 and 9.4 only
This commit is contained in:
@ -2461,16 +2461,16 @@ dumpDatabase(Archive *fout)
|
|||||||
resetPQExpBuffer(loFrozenQry);
|
resetPQExpBuffer(loFrozenQry);
|
||||||
resetPQExpBuffer(loOutQry);
|
resetPQExpBuffer(loOutQry);
|
||||||
|
|
||||||
if (fout->remoteVersion >= 90300)
|
if (fout->remoteVersion >= 90300)
|
||||||
appendPQExpBuffer(loFrozenQry, "SELECT relfrozenxid, relminmxid\n"
|
appendPQExpBuffer(loFrozenQry, "SELECT relfrozenxid, relminmxid\n"
|
||||||
"FROM pg_catalog.pg_class\n"
|
"FROM pg_catalog.pg_class\n"
|
||||||
"WHERE oid = %u;\n",
|
"WHERE oid = %u;\n",
|
||||||
LargeObjectMetadataRelationId);
|
LargeObjectMetadataRelationId);
|
||||||
else
|
else
|
||||||
appendPQExpBuffer(loFrozenQry, "SELECT relfrozenxid, 0 AS relminmxid\n"
|
appendPQExpBuffer(loFrozenQry, "SELECT relfrozenxid, 0 AS relminmxid\n"
|
||||||
"FROM pg_catalog.pg_class\n"
|
"FROM pg_catalog.pg_class\n"
|
||||||
"WHERE oid = %u;\n",
|
"WHERE oid = %u;\n",
|
||||||
LargeObjectMetadataRelationId);
|
LargeObjectMetadataRelationId);
|
||||||
|
|
||||||
lo_res = ExecuteSqlQueryForSingleRow(fout, loFrozenQry->data);
|
lo_res = ExecuteSqlQueryForSingleRow(fout, loFrozenQry->data);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user