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

From: Noah Misch <noah(at)leadboat(dot)com>
To: jv(dot)cyril(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16508: using multi-host connection string when the first host is starting fails
Date: 2020-08-13 07:55:39
Message-ID: 20200813075539.GD1133236@rfd.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2020-08-13 14:12:56 BUG #16581: Corrupted debian repository
Previous Message Marco Cuccato 2020-08-13 07:17:39 Re: BUG #16565: Systemd service file does not create /var/run/postgresql directory across reboot