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:39 -0400
commit28782d7e3b923a9eb9e1063c6e3cc69e167fad11 (patch)
treee66b38c5d74740628f599b4f1dead148df275d18 /src/backend/executor/nodeModifyTable.c
parentfa2cfb962c05df730f6bf586614eb39a4b0b5238 (diff)
downloadpostgresql-28782d7e3b923a9eb9e1063c6e3cc69e167fad11.tar.gz
postgresql-28782d7e3b923a9eb9e1063c6e3cc69e167fad11.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