Обсуждение: pgsql: Fix aboriginal bug in _tarAddFile(): when complaining that the

Поиск
Список
Период
Сортировка

pgsql: Fix aboriginal bug in _tarAddFile(): when complaining that the

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
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.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/bin/pg_dump:
        pg_backup_tar.c (r1.46.4.3 -> r1.46.4.4)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_tar.c?r1=1.46.4.3&r2=1.46.4.4)