]> granicus.if.org Git - postgresql/commit
Further pg_dump / ftello improvements
authorStephen Frost <sfrost@snowman.net>
Sun, 9 Feb 2014 23:28:14 +0000 (18:28 -0500)
committerStephen Frost <sfrost@snowman.net>
Sun, 9 Feb 2014 23:28:14 +0000 (18:28 -0500)
commitdfb1e9bdc0d0a506899b11038c7fce9631cac9fe
tree0a99ee38ef25b3313435b24b88d2892f0102980f
parent5e8e794e3be9fbeddf6f2e2c0515dd0f04c784ec
Further pg_dump / ftello improvements

Make ftello error-checking consistent to all calls and remove a
bit of ftello-related code which has been #if 0'd out since 2001.

Note that we are not concerned with the ftello() call under
snprintf() failing as it is just building a string to call
exit_horribly() with; printing -1 in such a case is fine.
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_backup_tar.c