pgsql: Focus on ftello result < 0 instead of errno

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема pgsql: Focus on ftello result < 0 instead of errno
Дата
Msg-id E1WCZA0-0005LT-32@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Minor pg_dump improvements
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: pgsql: Minor pg_dump improvements