summaryrefslogtreecommitdiff
path: root/src/include/executor
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2015-01-04 14:36:21 +0100
committerAndres Freund <andres@anarazel.de>2015-01-04 14:36:21 +0100
commitff7d46b8572ce566230c53e3c937412b3d19d8cf (patch)
treecb7bf79fea857acb3db13fb4a265e08ebabcfc73 /src/include/executor
parent90e4a2bf9b131f45fd4d80815b2b3505bb98c0a6 (diff)
Fix inconsequential fd leak in the new mark_file_as_archived() function.
As every error in mark_file_as_archived() will lead to a failure of pg_basebackup the FD leak couldn't ever lead to a real problem. It seems better to fix the leak anyway though, rather than silence Coverity, as the usage of the function might get extended or copied at some point in the future. Pointed out by Coverity. Backpatch to 9.2, like the relevant part of the previous patch.
Diffstat (limited to 'src/include/executor')
0 files changed, 0 insertions, 0 deletions