Re: Logical Replication WIP
От | Petr Jelinek |
---|---|
Тема | Re: Logical Replication WIP |
Дата | |
Msg-id | 3ec5bf8d-d54e-1bb4-f9a7-f60aff1685a8@2ndquadrant.com обсуждение исходный текст |
Ответ на | Re: Logical Replication WIP (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>) |
Ответы |
Re: Logical Replication WIP
|
Список | pgsql-hackers |
On 04/12/16 02:06, Peter Eisentraut wrote: > I massaged the temporary replication slot patch a bit. I changed the > column name in pg_stat_replication_slots from "persistent" to > "temporary" and flipped the logical sense, so that it is consistent with > the creation commands. I also adjusted some comments and removed some > changes in ReplicationSlotCreate() that didn't seem to do anything > useful (might have been from a previous patch). > > The attached patch looks good to me. > 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. -- Petr Jelinek http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: