From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Day, David <david.day@redcom.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: pglogical extension. - 2 node master <-> master logical replication ?
Date: Sun, 7 Jul 2019 20:44:14 +0200
Message-ID: <25c4085b-ed1f-583b-2abe-b9c248d18960@2ndquadrant.com> (raw)
In-Reply-To: <e4bf05465c3740bf929c889c878c153a@exch-02.redcom.com>
References: <e4bf05465c3740bf929c889c878c153a@exch-02.redcom.com>
On 2019-07-02 19:54, Day, David wrote:
> On attempting the reverse subscription from host1 to host2
>
> select pglogical.create_subscription('alabama_sub',
> 'host=alabama port=5432 dbname=ace_db user=replicator',
> '{connections}', false, false, '{}' )
>
> could not connect to the postgresql server: FATAL: role "pgsql" does not exist
> DETAIL: dsn was: host=georgia port=5432 dbname=ace_db
>
> --
> Wrong dsn and role ?
> The postgres installed superuser role is not pgsql.
> I did not see this issue in the working subscription direction.
The problem might be in the dsn that you gave to create_node(). Hard to
tell without a fully reproducible script.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, david.day@redcom.com
Subject: Re: pglogical extension. - 2 node master <-> master logical replication ?
In-Reply-To: <25c4085b-ed1f-583b-2abe-b9c248d18960@2ndquadrant.com>
References: <e4bf05465c3740bf929c889c878c153a@exch-02.redcom.com> <25c4085b-ed1f-583b-2abe-b9c248d18960@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox