From: Neil Conway Date: Wed, 6 Apr 2005 04:34:22 +0000 (+0000) Subject: This file was whacked by pgindent before it knew it shouldn't remove X-Git-Tag: REL8_1_0BETA1~1060 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00a1b1e27220acccae5e809f694486a7a2f83d65;p=postgresql 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. --- diff --git a/src/backend/utils/resowner/resowner.c b/src/backend/utils/resowner/resowner.c index d533a7697f..ad9186d215 100644 --- a/src/backend/utils/resowner/resowner.c +++ b/src/backend/utils/resowner/resowner.c @@ -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;