Re: beta6 pg_restore core dumps

Поиск
Список
Период
Сортировка
От Martin Renters
Тема Re: beta6 pg_restore core dumps
Дата
Msg-id 20010319104056.A7239@snowbird.datafax.com
обсуждение исходный текст
Ответ на Re: beta6 pg_restore core dumps  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, Mar 17, 2001 at 12:31:20PM -0500, Tom Lane wrote:
> After looking more closely I see that pg_restore has two different
> buffer overrun conditions in this one routine.  Attached is take two
> of my patch.
> 
> This would be a lot simpler and cleaner if _PrintData() simply didn't
> append a zero byte to the buffer contents.  Philip, is it actually
> necessary for it to do that?

This patch seems to fix the problem I was seeing.

Martin


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: /contrib 'cosmetic'
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: Performance monitor signal handler