diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-12-26 15:30:10 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-12-26 15:30:10 -0500 |
commit | e9fcfed3fb6b15e6b33bea9bb8504b14560857a8 (patch) | |
tree | 446e7367eb042030c7540ea46d6a1f6b8a3973ec /src/backend/access/gin/gininsert.c | |
parent | f89ae34ab8b4d9e9ce8af6bd889238b0ccff17cb (diff) | |
download | postgresql-e9fcfed3fb6b15e6b33bea9bb8504b14560857a8.tar.gz postgresql-e9fcfed3fb6b15e6b33bea9bb8504b14560857a8.zip |
Fix portability failure introduced in commits d2b0b60e7 et al.
I made a frontend fprintf() format use %m, forgetting that that's only
safe in HEAD not the back branches; prior to 96bf88d52 and d6c55de1f,
it would work on glibc platforms but not elsewhere. Revert to using
%s ... strerror(errno) as the code did before.
We could have left HEAD as-is, but for code consistency across branches,
I chose to apply this patch there too.
Per Coverity and a few buildfarm members.
Diffstat (limited to 'src/backend/access/gin/gininsert.c')
0 files changed, 0 insertions, 0 deletions