Re: Don'st start streaming after creating a slot in pg_receivexlog
| От | Michael Paquier |
|---|---|
| Тема | Re: Don'st start streaming after creating a slot in pg_receivexlog |
| Дата | |
| Msg-id | CAB7nPqQ6e+DuBC8x06VxcxKRhbW7mp79XDAqyjSHScon4NXJ6g@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: Don'st start streaming after creating a slot in pg_receivexlog (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: Don'st start streaming after creating a slot in
pg_receivexlog
|
| Список | pgsql-hackers |
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, but that's not really practical compared to what pg_recvlogical and pg_receivexlog can do. $ psql -d "replication=1" =# CREATE_REPLICATION_SLOT hoge PHYSICAL;slot_name | consistent_point | snapshot_name | output_plugin -----------+------------------+---------------+---------------hoge | 0/0 | null | null (1 row) -- Michael
В списке pgsql-hackers по дате отправления: