diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-10-10 15:33:54 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-10-10 15:33:54 -0400 |
commit | eeb01eb1f560d90625ac4c8ee210f29421ba4f0d (patch) | |
tree | ec5ae5ab66def1432847f4b0b5c2e3f321ed6dcc /src/backend/access/gist/gistbuild.c | |
parent | 961e07b8ccb56cb3979185b066b503b3d4f7c036 (diff) | |
download | postgresql-eeb01eb1f560d90625ac4c8ee210f29421ba4f0d.tar.gz postgresql-eeb01eb1f560d90625ac4c8ee210f29421ba4f0d.zip |
Remove pointless error-code checking in pg_dump/parallel.c.
Commit fe27009cb tried to make parallel.c's Windows implementation of
piperead() translate Windows socket errors to Unix, but that didn't
actually work because TranslateSocketError() is backend-internal code
(and not even public there). But on closer inspection, the sole
caller of this function doesn't actually care whether the result is
zero or negative, much less inspect the errno. So the whole exercise
is totally useless, and has been since this code was introduced.
Rip it out and just call recv() directly.
Per buildfarm.
Discussion: https://postgr.es/m/2621622.1602184554@sss.pgh.pa.us
Diffstat (limited to 'src/backend/access/gist/gistbuild.c')
0 files changed, 0 insertions, 0 deletions