pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedGetting error while running the pg_basebackup through PGBOUNCER
6+ messages / 4 participants
[nested] [flat]
* Getting error while running the pg_basebackup through PGBOUNCER
@ 2019-04-08 13:21 Raghavendra Rao J S V <raghavendrajsv@gmail.com>
2019-04-08 13:46 ` Re: Getting error while running the pg_basebackup through PGBOUNCER Pavel Stehule <pavel.stehule@gmail.com>
2019-04-08 13:46 ` RE: Getting error while running the pg_basebackup through PGBOUNCER Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com>
0 siblings, 2 replies; 6+ messages in thread
From: Raghavendra Rao J S V @ 2019-04-08 13:21 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
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*
--
Regards,
Raghavendra Rao J S V
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Getting error while running the pg_basebackup through PGBOUNCER
2019-04-08 13:21 Getting error while running the pg_basebackup through PGBOUNCER Raghavendra Rao J S V <raghavendrajsv@gmail.com>
@ 2019-04-08 13:46 ` Pavel Stehule <pavel.stehule@gmail.com>
1 sibling, 0 replies; 6+ messages in thread
From: Pavel Stehule @ 2019-04-08 13:46 UTC (permalink / raw)
To: Raghavendra Rao J S V <raghavendrajsv@gmail.com>; +Cc: pgsql-general <pgsql-general@lists.postgresql.org>
po 8. 4. 2019 v 15:42 odesílatel Raghavendra Rao J S V <
raghavendrajsv@gmail.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
>
>
^ permalink raw reply [nested|flat] 6+ messages in thread
* RE: Getting error while running the pg_basebackup through PGBOUNCER
2019-04-08 13:21 Getting error while running the pg_basebackup through PGBOUNCER Raghavendra Rao J S V <raghavendrajsv@gmail.com>
@ 2019-04-08 13:46 ` Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com>
2019-04-08 14:19 ` Re: Getting error while running the pg_basebackup through PGBOUNCER Raghavendra Rao J S V <raghavendrajsv@gmail.com>
1 sibling, 1 reply; 6+ messages in thread
From: Scot Kreienkamp @ 2019-04-08 13:46 UTC (permalink / raw)
To: Raghavendra Rao J S V <raghavendrajsv@gmail.com>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Replication and several other admin type operations must connect directly to PG. They are not supported through PGBouncer.
From: Raghavendra Rao J S V [mailto:raghavendrajsv@gmail.com]
Sent: Monday, April 8, 2019 9:21 AM
To: pgsql-general@lists.postgresql.org
Subject: Getting error while running the pg_basebackup through PGBOUNCER
ATTENTION: This email was sent to La-Z-Boy from an external source. Be vigilant when opening attachments or clicking links.
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
--
Regards,
Raghavendra Rao J S V
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Getting error while running the pg_basebackup through PGBOUNCER
2019-04-08 13:21 Getting error while running the pg_basebackup through PGBOUNCER Raghavendra Rao J S V <raghavendrajsv@gmail.com>
2019-04-08 13:46 ` RE: Getting error while running the pg_basebackup through PGBOUNCER Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com>
@ 2019-04-08 14:19 ` Raghavendra Rao J S V <raghavendrajsv@gmail.com>
2019-04-08 14:40 ` RE: Getting error while running the pg_basebackup through PGBOUNCER Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com>
2019-04-08 18:02 ` Re: Getting error while running the pg_basebackup through PGBOUNCER Adrian Klaver <adrian.klaver@aklaver.com>
0 siblings, 2 replies; 6+ messages in thread
From: Raghavendra Rao J S V @ 2019-04-08 14:19 UTC (permalink / raw)
To: Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Thank you very much for your prompt response.
Could you explain other admin type operations, which are not supported by
pgbouncer?
Regards,
Raghavendra Rao.
On Mon, 8 Apr 2019 at 19:16, Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com>
wrote:
> Replication and several other admin type operations must connect directly
> to PG. They are not supported through PGBouncer.
>
>
>
> *From:* Raghavendra Rao J S V [mailto:raghavendrajsv@gmail.com]
> *Sent:* Monday, April 8, 2019 9:21 AM
> *To:* pgsql-general@lists.postgresql.org
> *Subject:* Getting error while running the pg_basebackup through PGBOUNCER
>
>
>
>
> *ATTENTION: This email was sent to La-Z-Boy from an external source.
> Be vigilant when opening attachments or clicking links.*
>
> 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*
>
>
>
>
>
> --
>
> Regards,
> Raghavendra Rao J S V
>
--
Regards,
Raghavendra Rao J S V
Mobile- 8861161425
^ permalink raw reply [nested|flat] 6+ messages in thread
* RE: Getting error while running the pg_basebackup through PGBOUNCER
2019-04-08 13:21 Getting error while running the pg_basebackup through PGBOUNCER Raghavendra Rao J S V <raghavendrajsv@gmail.com>
2019-04-08 13:46 ` RE: Getting error while running the pg_basebackup through PGBOUNCER Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com>
2019-04-08 14:19 ` Re: Getting error while running the pg_basebackup through PGBOUNCER Raghavendra Rao J S V <raghavendrajsv@gmail.com>
@ 2019-04-08 14:40 ` Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com>
1 sibling, 0 replies; 6+ messages in thread
From: Scot Kreienkamp @ 2019-04-08 14:40 UTC (permalink / raw)
To: Raghavendra Rao J S V <raghavendrajsv@gmail.com>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Basically anything that is not written as a sql query should be connected directly to PG. PGBouncer is really only meant for SQL query type connections.
From: Raghavendra Rao J S V [mailto:raghavendrajsv@gmail.com]
Sent: Monday, April 8, 2019 10:19 AM
To: Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Getting error while running the pg_basebackup through PGBOUNCER
ATTENTION: This email was sent to La-Z-Boy from an external source. Be vigilant when opening attachments or clicking links.
Thank you very much for your prompt response.
Could you explain other admin type operations, which are not supported by pgbouncer?
Regards,
Raghavendra Rao.
On Mon, 8 Apr 2019 at 19:16, Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com<mailto:Scot.Kreienkamp@la-z-boy.com>> wrote:
Replication and several other admin type operations must connect directly to PG. They are not supported through PGBouncer.
From: Raghavendra Rao J S V [mailto:raghavendrajsv@gmail.com<mailto:raghavendrajsv@gmail.com>]
Sent: Monday, April 8, 2019 9:21 AM
To: pgsql-general@lists.postgresql.org<mailto:pgsql-general@lists.postgresql.org>
Subject: Getting error while running the pg_basebackup through PGBOUNCER
ATTENTION: This email was sent to La-Z-Boy from an external source. Be vigilant when opening attachments or clicking links.
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
--
Regards,
Raghavendra Rao J S V
--
Regards,
Raghavendra Rao J S V
Mobile- 8861161425
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Getting error while running the pg_basebackup through PGBOUNCER
2019-04-08 13:21 Getting error while running the pg_basebackup through PGBOUNCER Raghavendra Rao J S V <raghavendrajsv@gmail.com>
2019-04-08 13:46 ` RE: Getting error while running the pg_basebackup through PGBOUNCER Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com>
2019-04-08 14:19 ` Re: Getting error while running the pg_basebackup through PGBOUNCER Raghavendra Rao J S V <raghavendrajsv@gmail.com>
@ 2019-04-08 18:02 ` Adrian Klaver <adrian.klaver@aklaver.com>
1 sibling, 0 replies; 6+ messages in thread
From: Adrian Klaver @ 2019-04-08 18:02 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
On 4/8/19 7:19 AM, Raghavendra Rao J S V wrote:
> Thank you very much for your prompt response.
>
> Could you explain other admin type operations, which are not supported
> by pgbouncer?
I would say anything you could not run through psql.
>
> Regards,
> Raghavendra Rao.
--
Adrian Klaver
adrian.klaver@aklaver.com
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2019-04-08 18:02 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-04-08 13:21 Getting error while running the pg_basebackup through PGBOUNCER Raghavendra Rao J S V <raghavendrajsv@gmail.com>
2019-04-08 13:46 ` Pavel Stehule <pavel.stehule@gmail.com>
2019-04-08 13:46 ` Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com>
2019-04-08 14:19 ` Raghavendra Rao J S V <raghavendrajsv@gmail.com>
2019-04-08 14:40 ` Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com>
2019-04-08 18:02 ` Adrian Klaver <adrian.klaver@aklaver.com>
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