Re: pgsql: Minor pg_dump improvements

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: pgsql: Minor pg_dump improvements
Дата
Msg-id 20140209231310.GE2921@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: pgsql: Minor pg_dump improvements  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Minor pg_dump improvements  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> grep shows me a couple of other places where the result of ftello doesn't
> seem to be getting checked for error.  Odd that Coverity didn't notice
> those.

At least two of those are in a #if 0 block... since 2001
(pg_backup_tar.c:_tarGetHeader).  I'm thinking we may be better off
removing that code rather than continuing to pull it along (and update
it- there were at least three commits fixing things in that block
after it had been #if 0'd out).  Another technically had a check, but
it was late, I've got a patch to improve that.

The last is inside a snprintf() which is just building a string to call
exit_horribly() with- seems like that's safe enough?

    Thanks,

        Stephen

Вложения

В списке pgsql-committers по дате отправления:

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