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

From Peter Eisentraut
Subject Re: [COMMITTERS] pgsql: Fix saving and restoring umask
Date
Msg-id 80186612-77fb-fce7-18b8-4842e466e918@2ndquadrant.com
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Fix saving and restoring umask  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-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

pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: Fix saving and restoring umask
Next
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: Refactor new file permission handling