aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/float.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-02-12 01:12:52 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2019-02-12 01:12:52 -0500
commit232a8e233f21eb9a214c551d5a6af3d324915b4e (patch)
tree7d0dd160fde7e44f3760ad3007ac36f5af00fc59 /src/backend/utils/adt/float.c
parentb7ec820559b68df446c01fe1497bd24e9091f559 (diff)
downloadpostgresql-232a8e233f21eb9a214c551d5a6af3d324915b4e.tar.gz
postgresql-232a8e233f21eb9a214c551d5a6af3d324915b4e.zip
Fix erroneous error reports in snapbuild.c.
It's pretty unhelpful to report the wrong file name in a complaint about syscall failure, but SnapBuildSerialize managed to do that twice in a span of 50 lines. Also fix half a dozen missing or poorly-chosen errcode assignments; that's mostly cosmetic, but still wrong. Noted while studying recent failures on buildfarm member nightjar. I'm not sure whether those reports are actually giving the wrong filename, because there are two places here with identically spelled error messages. The other one is specifically coded not to report ENOENT, but if it's this one, how could we be getting ENOENT from open() with O_CREAT? Need to sit back and await results. However, these ereports are clearly broken from birth, so back-patch.
Diffstat (limited to 'src/backend/utils/adt/float.c')
0 files changed, 0 insertions, 0 deletions