diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-05-21 00:32:28 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-05-21 00:32:44 -0400 |
commit | 1545ca9a7463f4ae8451a845774a107ad0757a9f (patch) | |
tree | aba0bdd55bbd4957a53a33b7079eef0e6389d32f /src/backend/commands/copy.c | |
parent | 9c515f77d6cffb6f2576c5e9895cc0f29cc6279c (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/backend/commands/copy.c')
0 files changed, 0 insertions, 0 deletions