Re: [HACKERS] BDR Multiple database

From: Jirayut Nimsaeng <jirayut(at)proteus-tech(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] BDR Multiple database
Date: 2015-02-26 16:13:01
Message-ID: CACbDkQMNe0cUXsL+u+CVN2M-YcFrsx5aAestPA15Uj8MMP8Prg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Thank you so much for clarification about list room for discussion and
suggestion
Now I can do BDR multiple database with this configuration

bdr.connections = 'bdrnode02db1, bdrnode02db2'
bdr.bdrnode02db1 = 'dbname=db1 host=172.17.42.1 port=49319 user=postgres'
bdr.bdrnode02db2 = 'dbname=db2 host=172.17.42.1 port=49319 user=postgres'

Regards,
Jirayut

On Thu, Feb 26, 2015 at 6:12 PM, Andres Freund <andres(at)2ndquadrant(dot)com>
wrote:

> Hi,
>
> Please note that hackers is not the right list for this; it's for
> development discussions. Please ask such questions on -general.
>
> On 2015-02-26 17:46:55 +0700, Jirayut Nimsaeng wrote:
> > We want to use BDR with multiple database but now all the document didn't
> > show any example how to config BDR with multiple database. We've tried
> with
> > many combination as below but still no luck. Anyone can point us this?
> >
> > 1st combination
> >
> > bdr.connections = 'bdrnode02db1'
> > bdr.bdrnode02db1_dsn = 'dbname=db1 host=172.17.42.1 port=49264
> > user=postgres'
> > bdr.connections = 'bdrnode02db2'
> > bdr.bdrnode02db2_dsn = 'dbname=db2 host=172.17.42.1 port=49264
> > user=postgres'
>
> bdr.connections needs to contain a list of all connections, not
> individual ones. E.g.
> bdr.connections = 'bdrnode02db1, bdrnode02db2'
>
> Greetings,
>
> Andres Freund
>
> --
> Andres Freund http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Training & Services
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2015-02-26 16:15:05 Re: "JSON does not support infinite date values"
Previous Message Andres Freund 2015-02-26 16:06:17 Re: "JSON does not support infinite date values"

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2015-02-26 16:36:16 Re: Performance improvement for joins where outer side is unique
Previous Message Tom Lane 2015-02-26 15:56:38 Re: Precedence of standard comparison operators