aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeProjectSet.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-08-09 12:39:08 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-08-09 12:39:08 -0400
commitdd63a71ebe3937e0ec965248513fb71e45ee0ec8 (patch)
treeb44f95d385b34629eabd9f24523f92b8902f0b11 /src/backend/executor/nodeProjectSet.c
parent900429d0c03668ac474770c01ba5911b15025dfb (diff)
downloadpostgresql-dd63a71ebe3937e0ec965248513fb71e45ee0ec8.tar.gz
postgresql-dd63a71ebe3937e0ec965248513fb71e45ee0ec8.zip
Check for fseeko() failure in pg_dump's _tarAddFile().
Coverity pointed out, not unreasonably, that we checked fseeko's result at every other call site but these. Failure to seek in the temp file (note this is NOT pg_dump's output file) seems quite unlikely, and even if it did happen the file length cross-check further down would probably detect the problem. Still, that's a poor excuse for not checking the result of a system call.
Diffstat (limited to 'src/backend/executor/nodeProjectSet.c')
0 files changed, 0 insertions, 0 deletions