Re: [PATCH] Writing changes of decoding plugin in the memory context where data is kept?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [PATCH] Writing changes of decoding plugin in the memory context where data is kept?
Дата
Msg-id 20140515001838.GK23943@awork2.anarazel.de
обсуждение исходный текст
Ответ на [PATCH] Writing changes of decoding plugin in the memory context where data is kept?  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: [PATCH] Writing changes of decoding plugin in the memory context where data is kept?
Список pgsql-hackers
On 2014-05-15 09:11:15 +0900, Michael Paquier wrote:
> When working on a decoder plugin, I have been pointed that it is
> incorrect to write changes in an output plugin while not being in the
> memory context where changes are written.

That was a misunderstanding. It's perfectly alright to do so. The 'bug'
you have is that you sometimes wrote empty messages. Which
pg_recvlogical doesn't accept. There's little reason to allow doing so,
but for consistency we could probably ok to allow it.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Cache invalidation bug in RelationGetIndexAttrBitmap()
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: buildfarm / handling (undefined) locales