Re: Logical Replication WIP

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Logical Replication WIP
Дата
Msg-id fb00b04c-d982-5a07-97f0-4c6e8de8375b@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Logical Replication WIP  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: Logical Replication WIP
Re: [HACKERS] Logical Replication WIP
Список pgsql-hackers
On 12/6/16 11:58 AM, Peter Eisentraut wrote:
> On 12/5/16 6:24 PM, Petr Jelinek wrote:
>> I think that the removal of changes to ReplicationSlotAcquire() that you
>> did will result in making it impossible to reacquire temporary slot once
>> you switched to different one in the session as the if (active_pid != 0)
>> will always be true for temp slot.
>
> I see.  I suppose it's difficult to get a test case for this.

I created a test case, saw the error of my ways, and added your code
back in.  Patch attached.

--
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Вложения

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Implement table partitioning.
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Proposal for changes to recovery.conf API