Re: V3 protocol gets out of sync on messages that cause allocation failures

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: V3 protocol gets out of sync on messages that cause allocation failures
Дата
Msg-id 9559.1098141841@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: V3 protocol gets out of sync on messages that cause allocation failures  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: V3 protocol gets out of sync on messages that cause allocation  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-hackers
I wrote:
> Yeah.  The intent of the protocol design was that the recipient could
> skip over the correct number of bytes even if it didn't have room to
> buffer them, but the memory allocation mechanism in the backend makes
> it difficult to actually do that.  Now that we have PG_TRY, though,
> it might not be out of reach to do it right.

And indeed it wasn't.  Patch committed.
        regards, tom lane


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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: libpq and prepared statements progress for 8.0
Следующее
От: Tom Lane
Дата:
Сообщение: Re: code question: storing INTO relation