diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-09-22 16:50:59 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-09-22 17:10:36 -0400 |
commit | aa6b7b72d9bcf967cbccd378de4bc5cef33d02f9 (patch) | |
tree | 99233d881a9032f8183c3a530b7c451d6f7e049d /src/backend/access/transam/xlogutils.c | |
parent | 58ffe141eb37c3f027acd25c1fc6b36513bf9380 (diff) | |
download | postgresql-aa6b7b72d9bcf967cbccd378de4bc5cef33d02f9.tar.gz postgresql-aa6b7b72d9bcf967cbccd378de4bc5cef33d02f9.zip |
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.
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
0 files changed, 0 insertions, 0 deletions