Re: [HACKERS] DROP SUBSCRIPTION hangs if sub is disabled in the same transaction
В списке pgsql-hackers по дате отправления:
| От | Arseny Sher |
|---|---|
| Тема | Re: [HACKERS] DROP SUBSCRIPTION hangs if sub is disabled in the same transaction |
| Дата | |
| Msg-id | 87mv5v50gt.fsf@ars-thinkpad обсуждение исходный текст |
| Ответ на | Re: [HACKERS] DROP SUBSCRIPTION hangs if sub is disabled in the sametransaction (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>) |
| Ответы |
Re: [HACKERS] DROP SUBSCRIPTION hangs if sub is disabled in the sametransaction
|
| Список | pgsql-hackers |
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes: > Here is a simple patch that fixes this, based on my original proposal > point #4. I checked, it passes the tests and solves the problem. However, isn't this + if (slotname || !subenabled) is a truism? Is it possible that subscription has no slot but still enabled? Besides, we can avoid stopping the workers if subscription has no associated replication origin, though this probably means that subscription was broken by user and is not worth it. -- Arseny Sher -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера