| От | Petr Jelinek |
|---|---|
| Тема | Re: After an error - pg_replication_slot is dropped |
| Дата | |
| Msg-id | 2a72d1a2-ca25-f349-a47f-98206a22fc2e@2ndquadrant.com обсуждение |
| Ответ на | Re: After an error - pg_replication_slot is dropped (tushar <tushar.ahuja@enterprisedb.com>) |
| Список | pgsql-hackers |
On 16/02/18 12:38, tushar wrote: > On 02/16/2018 04:02 PM, Petr Jelinek wrote: >> It's because you are creating temporary slot. Temporary slots are >> removed on error, that's a documented behavior. > > Thanks for pointing out but It looks weird behavior - even a small mea > culpa can remove the slot. Temporary table - doesn't go automatically > after an error ? > Temporary tables have transactional properties, slots don't (even the non-temporary). For example if you create replication slot in transaction and then abort it, the slot will survive. That's the price we pay for ability to create slots on standby. -- Petr Jelinek http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера