]> granicus.if.org Git - postgresql/commit
Fix aboriginal bug in _tarAddFile(): when complaining that the amount of data
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 29 Aug 2007 16:32:05 +0000 (16:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 29 Aug 2007 16:32:05 +0000 (16:32 +0000)
commit92cb599bd6e5f08d42cfb41f930aa95cba9790f6
tree987703f7266e5892f89d6f473c445d976e9ad8b5
parent5a94a5fd0b026f5503eac244bdff5c408e82834c
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