Fix aboriginal bug in _tarAddFile(): when complaining that the amount of data
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 29 Aug 2007 16:31:57 +0000 (16:31 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 29 Aug 2007 16:31:57 +0000 (16:31 +0000)
commitbd832a4fc8a6f1509d7d8844fa7ace3894b1de3a
tree2142c0fe938236ddf616e5a09eddcd5171b8ddde
parent8bdb20e5fb94718f3b416ce0a168a40823e3cf14
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