Re: [HACKERS] BDR Multiple database - Mailing list pgsql-general

From Andres Freund
Subject Re: [HACKERS] BDR Multiple database
Date
Msg-id 20150226111235.GE5268@alap3.anarazel.de
Whole thread Raw
Responses Re: [HACKERS] BDR Multiple database  (Jirayut Nimsaeng <jirayut@proteus-tech.com>)
List pgsql-general
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


pgsql-general by date:

Previous
From: Jim Nasby
Date:
Subject: Re: [HACKERS] Composite index and min()
Next
From: Torsten Förtsch
Date:
Subject: Locking question