From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Fix saving and restoring umask
Date: Sat, 23 Sep 2017 10:17:26 -0400
Message-ID: <80186612-77fb-fce7-18b8-4842e466e918@2ndquadrant.com> (raw)
In-Reply-To: <15275.1506116911@sss.pgh.pa.us>
References: <E1dvVKG-0008Ux-Fb@gemulon.postgresql.org>
<15275.1506116911@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 9/22/17 17:48, Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>> Fix saving and restoring umask
>> In two cases, we set a different umask for some piece of code and
>> restore it afterwards. But if the contained code errors out, the umask
>> is not restored. So add TRY/CATCH blocks to fix that.
>
> Doesn't that need to be back-patched?
done
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, tgl@sss.pgh.pa.us
Subject: Re: pgsql: Fix saving and restoring umask
In-Reply-To: <80186612-77fb-fce7-18b8-4842e466e918@2ndquadrant.com>
References: <E1dvVKG-0008Ux-Fb@gemulon.postgresql.org> <15275.1506116911@sss.pgh.pa.us> <80186612-77fb-fce7-18b8-4842e466e918@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox