Re: Getting error while running the pg_basebackup through PGBOUNCER

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Raghavendra Rao J S V <raghavendrajsv(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Getting error while running the pg_basebackup through PGBOUNCER
Date: 2019-04-08 13:46:11
Message-ID: CAFj8pRBz9QB62wGWSp8R-E=6k9kkMOhfa6mf2-LEv066Mevf-A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

po 8. 4. 2019 v 15:42 odesílatel Raghavendra Rao J S V <
raghavendrajsv(at)gmail(dot)com> napsal:

> Hi All,
>
> We are using PGBOUNCER(connection pool mechanisam). PGBOUNCER uses port
> 5433.
>
> Postgres database port number is 6433. By using port 5433 PGBOUNCER is
> connecting to postgres port 6433 database.
>
> Now PGBOUNCER is establishing the connections properly but when I try to
> run the pg_basebackup through port 5433(PGBOUNCER port) we are receiving
> below error. Please guide me.
>
>
> /opt/postgres/9.2/bin/pg_basebackup -p 5433 -U postgres -P -v -x
> --format=tar --gzip --compress=1 --pgdata=- -D /opt/rao
>
> *pg_basebackup: could not connect to server: ERROR: Unsupported startup
> parameter: replication*
>

looks like pgbouncer cannot to forward connection parameter "replication"

Why you need pgbouncer for pg_basebackup? It has not too mach sense.

Pavel

>
> --
> Regards,
> Raghavendra Rao J S V
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scot Kreienkamp 2019-04-08 13:46:13 RE: Getting error while running the pg_basebackup through PGBOUNCER
Previous Message Kevin Wilkinson 2019-04-08 13:21:56 Re: 10.2: high cpu usage on update statement