mirror of
https://github.com/postgres/postgres.git
synced 2025-07-23 03:21:12 +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(loOutQry);
|
||||
|
||||
if (fout->remoteVersion >= 90300)
|
||||
appendPQExpBuffer(loFrozenQry, "SELECT relfrozenxid, relminmxid\n"
|
||||
"FROM pg_catalog.pg_class\n"
|
||||
"WHERE oid = %u;\n",
|
||||
LargeObjectMetadataRelationId);
|
||||
else
|
||||
appendPQExpBuffer(loFrozenQry, "SELECT relfrozenxid, 0 AS relminmxid\n"
|
||||
"FROM pg_catalog.pg_class\n"
|
||||
"WHERE oid = %u;\n",
|
||||
LargeObjectMetadataRelationId);
|
||||
if (fout->remoteVersion >= 90300)
|
||||
appendPQExpBuffer(loFrozenQry, "SELECT relfrozenxid, relminmxid\n"
|
||||
"FROM pg_catalog.pg_class\n"
|
||||
"WHERE oid = %u;\n",
|
||||
LargeObjectMetadataRelationId);
|
||||
else
|
||||
appendPQExpBuffer(loFrozenQry, "SELECT relfrozenxid, 0 AS relminmxid\n"
|
||||
"FROM pg_catalog.pg_class\n"
|
||||
"WHERE oid = %u;\n",
|
||||
LargeObjectMetadataRelationId);
|
||||
|
||||
lo_res = ExecuteSqlQueryForSingleRow(fout, loFrozenQry->data);
|
||||
|
||||
|
Reference in New Issue
Block a user