Re: [COMMITTERS] pgsql: Fix saving and restoring umask - Mailing list pgsql-committers

From Tom Lane
Subject Re: [COMMITTERS] pgsql: Fix saving and restoring umask
Date
Msg-id 15275.1506116911@sss.pgh.pa.us
Whole thread Raw
In response to [COMMITTERS] pgsql: Fix saving and restoring umask  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [COMMITTERS] pgsql: Fix saving and restoring umask
List pgsql-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

pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: Fix saving and restoring umask
Next
From: Alvaro Herrera
Date:
Subject: [COMMITTERS] pgsql: Test BRIN autosummarization