mirror of
https://github.com/postgres/postgres.git
synced 2025-06-04 00:02:37 -04:00
This file was whacked by pgindent before it knew it shouldn't remove
braces around single statements (for PG_TRY macros). This patch fixes it. Alvaro Herrera.
This commit is contained in:
parent
726220fb9f
commit
00a1b1e272
@ -14,7 +14,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/resowner/resowner.c,v 1.11 2005/03/25 18:30:27 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/resowner/resowner.c,v 1.12 2005/04/06 04:34:22 neilc Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -158,7 +158,9 @@ ResourceOwnerRelease(ResourceOwner owner,
|
||||
|
||||
save = CurrentResourceOwner;
|
||||
PG_TRY();
|
||||
ResourceOwnerReleaseInternal(owner, phase, isCommit, isTopLevel);
|
||||
{
|
||||
ResourceOwnerReleaseInternal(owner, phase, isCommit, isTopLevel);
|
||||
}
|
||||
PG_CATCH();
|
||||
{
|
||||
CurrentResourceOwner = save;
|
||||
|
Loading…
x
Reference in New Issue
Block a user