git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 8198a32) | patch
Focus on ftello result < 0 instead of errno
Sun, 9 Feb 2014 18:29:36 +0000 (13:29 -0500)
Sun, 9 Feb 2014 18:29:36 +0000 (13:29 -0500)
commit 5e8e794e3be9fbeddf6f2e2c0515dd0f04c784ec
Focus on ftello result < 0 instead of errno

Rather than reset errno (or just hope that its cleared already),
check just the result of the ftello for < 0 to determine if there
was an issue.

Oversight by me, pointed out by Tom.
src/bin/pg_dump/pg_backup_custom.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /