Re: Need Force flag for pg_drop_replication_slot()

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Need Force flag for pg_drop_replication_slot()
Дата
Msg-id 5568C116.6060608@agliodbs.com
обсуждение исходный текст
Ответ на Need Force flag for pg_drop_replication_slot()  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
On 05/29/2015 12:27 PM, Andres Freund wrote:
> On 2015-05-29 12:08:24 -0700, Josh Berkus wrote:
>> Now, BDR is good because it sets an application_name which lets me
>> figure out what's using the replication slot.  But that's by no means
>> required; other LC plug-ins, I expect, do not do so.  So there's no way
>> for the user to figure out which replication connection relates to which
>> slots, as far as I can tell.
>>
>> In this test, it's easy because there's only one replication connection
>> and one slot.  But imagine the case of 14 replication connections with
>> their own slots.  How could you possibly figure out which one was the
>> laggy one?
> 
> 9.5 shows the pid.

OK, will test, thanks.

--Josh Berkus


-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: [CORE] postpone next week's release
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [CORE] postpone next week's release