aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/typecmds.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
commit418414daaa4fc4e88f84c6c456bd0ac1c4c86efd (patch)
treeaa7c87d4d6ccb6cc0264958bbd63f27245de2c86 /src/backend/commands/typecmds.c
parent65a6769152f4e523e41a9a72f4b332cf427cec90 (diff)
downloadpostgresql-418414daaa4fc4e88f84c6c456bd0ac1c4c86efd.tar.gz
postgresql-418414daaa4fc4e88f84c6c456bd0ac1c4c86efd.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/commands/typecmds.c')
0 files changed, 0 insertions, 0 deletions