pgsql: Focus on ftello result < 0 instead of errno - Mailing list pgsql-committers

From Stephen Frost
Subject pgsql: Focus on ftello result < 0 instead of errno
Date
Msg-id E1WCZA0-0005LT-32@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5e8e794e3be9fbeddf6f2e2c0515dd0f04c784ec

Modified Files
--------------
src/bin/pg_dump/pg_backup_custom.c |    5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Minor pg_dump improvements
Next
From: Stephen Frost
Date:
Subject: Re: pgsql: Minor pg_dump improvements