summaryrefslogtreecommitdiff
path: root/src/include/executor
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-05-21 00:32:28 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-05-21 00:32:52 -0400
commit5517367e978b29dedb1ca0e84a0285b8f9446fde (patch)
tree47e934f2818dc84898e766cf937923e6590ad0bc /src/include/executor
parente52cabff7054005d2f7157c236d996dcd79baf5c (diff)
Fix unsafe usage of strerror(errno) within ereport().
This is the converse of the unsafe-usage-of-%m problem: the reason ereport/elog provide that format code is mainly to dodge the hazard of errno getting changed before control reaches functions within the arguments of the macro. I only found one instance of this hazard, but it's been there since 9.4 :-(.
Diffstat (limited to 'src/include/executor')
0 files changed, 0 insertions, 0 deletions