aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
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:48 -0400
commitced0cdc76cfc09eaa722e79fe9720729703da2ce (patch)
tree3ce0f28ffd1ba0f076099a57a91b35e59f6680fe /src/backend/executor/nodeModifyTable.c
parent29a4db65fbb752b2c0b212f331eb375532a7b9d9 (diff)
downloadpostgresql-ced0cdc76cfc09eaa722e79fe9720729703da2ce.tar.gz
postgresql-ced0cdc76cfc09eaa722e79fe9720729703da2ce.zip
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/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions