Re: BUG #16508: using multi-host connection string when the first host is starting fails - Mailing list pgsql-bugs

From Noah Misch
Subject Re: BUG #16508: using multi-host connection string when the first host is starting fails
Date
Msg-id 20200813075539.GD1133236@rfd.leadboat.com
Whole thread Raw
In response to BUG #16508: using multi-host connection string when the first host is starting fails  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #16508: using multi-host connection string when the first host is starting fails  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Wed, Jun 24, 2020 at 08:17:44AM +0000, PG Bug reporting form wrote:
> I'm connection to pg10 using psql (tried with clients psql 10.11 & psql
> 12.2) using a connection string such as:
> psql 'dbname=xxxxx1,xxxxx2,xxxxx3,xxxxx4 target_session_attrs=read-write'
> 
> the connection to first database (xxxxx1) fail with the error:
> psql.bin: FATAL:  the database system is starting up
> 
> which is correct according to postgres state on that machine,
> but then I would expect the psql tries the next server (xxxxx2) with is in
> the one acceptiong the connection params (target_session_attrs=read-write)
> 
> instead of the error.

I agree.



pgsql-bugs by date:

Previous
From: Marco Cuccato
Date:
Subject: Re: BUG #16565: Systemd service file does not create /var/run/postgresql directory across reboot
Next
From: PG Bug reporting form
Date:
Subject: BUG #16581: Corrupted debian repository