Re: Logical Replication WIP
От | Peter Eisentraut |
---|---|
Тема | Re: Logical Replication WIP |
Дата | |
Msg-id | bb90df22-96c8-8eef-db8a-b8276e085976@2ndquadrant.com обсуждение исходный текст |
Ответ на | Re: Logical Replication WIP (Steve Singer <steve@ssinger.info>) |
Ответы |
Re: Logical Replication WIP
|
Список | pgsql-hackers |
On 9/18/16 4:17 PM, Steve Singer wrote: > When I create my subscriber database by doing a physical backup of the > publisher cluster (with cp before I add any data) then I am unable to > connect subscribe. > ie > initdb ../data > cp -r ../data ../data2 > ./postgres -D ../data > ./postgres -D ../data2 > > This make sense when I look at your code, but it might not be what we want I think if we want to prevent the creation of subscriptions that point to self, then we need to create a magic token when the postmaster starts and check for that when we connect. So more of a running-instance identifier instead of a instance-on-disk identifier. The other option is that we just allow it and make it more robust. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: