Search Postgresql Archives

Re: Setting up BDR 0.9.0 - error on bdr_group_create

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 26 March 2015 at 06:02, Steve Boyle <sboyle@xxxxxxxxxxxxx> wrote:
 
postgres=# SELECT bdr.bdr_group_create(
postgres(#       local_node_name := 'cxtlabdev014',
postgres(#       node_external_dsn := 'port=5432 dbname=prod'
postgres(# );
ERROR:  getting remote node id failed
DETAIL:  SELECT sysid, timeline, dboid FROM bdr.bdr_get_local_nodeid() failed with: ERROR:  schema "bdr" does not exist

It looks like you're running bdr_group_create from the 'postgres' database, but you're specifying the dbname 'prod' as the database that you're creating the bdr group for.

You should CREATE EXTENSION bdr;  in the 'prod' database and run bdr.bdr_group_create while connected to 'prod'.

The documentation should be more explicit about the fact that the management commands affect the database they are run in.

Thanks for writing a clear and detailed report with errors, versions, and command shown. It's much appreciated.

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux