Fix aboriginal bug in _tarAddFile(): when complaining that the amount of data
authorTom Lane <[email protected]>
Wed, 29 Aug 2007 16:31:45 +0000 (16:31 +0000)
committerTom Lane <[email protected]>
Wed, 29 Aug 2007 16:31:45 +0000 (16:31 +0000)
commit532eedcbb1781757eb6b92834c2f6d7784db6ffc
tree7d525fd5b412cc56b432d4f81901e8a0164ca81a
parent051a3c0176781ff346c6c152b009061694677ff1
Fix aboriginal bug in _tarAddFile(): when complaining that the amount of data
read from the temp file didn't match the file length reported by ftello(),
the wrong variable's value was printed, and so the message made no sense.
Clean up a couple other coding infelicities while at it.
src/bin/pg_dump/pg_backup_tar.c