Re: [HACKERS] Selective logical replication

2015-11-20 Thread Craig Ringer
On 20 November 2015 at 22:03, Craig Ringer wrote: > On 19 November 2015 at 16:48, konstantin knizhnik < > k.knizh...@postgrespro.ru> wrote: > >> Hi, >> >> I want to use logical replication for implementing multimaster (so all >> nodes are both sending and receiving changes). >> > > Like http://bd

Re: [HACKERS] Selective logical replication

2015-11-20 Thread Craig Ringer
On 19 November 2015 at 16:48, konstantin knizhnik wrote: > Hi, > > I want to use logical replication for implementing multimaster (so all > nodes are both sending and receiving changes). > Like http://bdr-project.org/ ? > But there is one "stupid" problem: how to prevent infinite recursion and

Re: [HACKERS] Selective logical replication

2015-11-19 Thread Michael Paquier
On Thu, Nov 19, 2015 at 5:48 PM, konstantin knizhnik wrote: > I want to use logical replication for implementing multimaster (so all nodes > are both sending and receiving changes). > But there is one "stupid" problem: how to prevent infinite recursion and not > to rereplicate replicated data. >

Re: [HACKERS] Selective logical replication

2015-11-19 Thread Amit Langote
On 2015/11/19 17:48, konstantin knizhnik wrote: > Hi, > > I want to use logical replication for implementing multimaster (so all nodes > are both sending and receiving changes). > But there is one "stupid" problem: how to prevent infinite recursion and not > to rereplicate replicated data. > I.e

[HACKERS] Selective logical replication

2015-11-19 Thread konstantin knizhnik
Hi, I want to use logical replication for implementing multimaster (so all nodes are both sending and receiving changes). But there is one "stupid" problem: how to prevent infinite recursion and not to rereplicate replicated data. I.e. node receives change set from some other node, applies it wi