Re: Don'st start streaming after creating a slot in pg_receivexlog
В списке pgsql-hackers по дате отправления:
| От | Andres Freund |
|---|---|
| Тема | Re: Don'st start streaming after creating a slot in pg_receivexlog |
| Дата | |
| Msg-id | 20150729132522.GC26516@alap3.anarazel.de обсуждение |
| Ответ на | Re: Don'st start streaming after creating a slot in pg_receivexlog (Michael Paquier <michael.paquier@gmail.com>) |
| Список | pgsql-hackers |
On 2015-07-29 22:21:04 +0900, Michael Paquier wrote: > On Wed, Jul 29, 2015 at 10:15 PM, Andres Freund wrote: > > It's not that uncommon to have replicas only access the primary for > > replication type connections. So it seems completely sensible to use the > > replication protocol to manage slots. And that you can't really do with > > psql. > > Actually, you can. CREATE_REPLICATION_SLOT is one of the commands that > work with psql I do know that, I wrote the bit in the docs explaining that that's possible... But using replication connections that way in psql makes requires it to be invoked in a different way and makes it it impossible to specify the database name in a normal way etc. You can also run into commands that give you 'unexpected result status' errors and such. I don't think that's a good default interface.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера