]> granicus.if.org Git - postgresql/commit
Focus on ftello result < 0 instead of errno
authorStephen Frost <sfrost@snowman.net>
Sun, 9 Feb 2014 18:29:36 +0000 (13:29 -0500)
committerStephen Frost <sfrost@snowman.net>
Sun, 9 Feb 2014 18:29:36 +0000 (13:29 -0500)
commit5e8e794e3be9fbeddf6f2e2c0515dd0f04c784ec
treef7242dd5bccb2772354c89a8187ca945082b439d
parent8198a321c9ea2072c5acde438f4d19638e04f6f2
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