From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Fix saving and restoring umask
Date: Fri, 22 Sep 2017 17:48:31 -0400
Message-ID: <15275.1506116911@sss.pgh.pa.us> (raw)
In-Reply-To: <E1dvVKG-0008Ux-Fb@gemulon.postgresql.org>
References: <E1dvVKG-0008Ux-Fb@gemulon.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
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?
regards, tom lane
--
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: tgl@sss.pgh.pa.us, peter_e@gmx.net
Subject: Re: pgsql: Fix saving and restoring umask
In-Reply-To: <15275.1506116911@sss.pgh.pa.us>
References: <E1dvVKG-0008Ux-Fb@gemulon.postgresql.org> <15275.1506116911@sss.pgh.pa.us>
* 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