specifying multiple options in URI psql behaviour?

From: Wim Bertels <wim(dot)bertels(at)ucll(dot)be>
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: specifying multiple options in URI psql behaviour?
Date: 2023-10-02 12:48:27
Message-ID: e43d805a2fdf29d5e587fd9fe2358b7a92000d51.camel@ucll.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

can anyone confirm this?:

* connections with at most 1 option after the ?-mark sign work:

like

#psql postgresql://myuser(at)myserver/mydb?connect_timeout=10

or

#psql postgresql://myuser(at)myserver/mydb?target_session_attrs=any

* but if you put more than 1 option, then it doesn't?:

#psql
postgresql://myuser(at)myserver/mydb?connect_timeout=10&target_session_att
rs=any

--

https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING-URIS

https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PARAMKEYWORDS

mvg,
Wim

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2023-10-02 13:59:41 Re: Cancelling "vacuum full" in single user mode?
Previous Message Colin 't Hart 2023-10-02 12:39:59 Cancelling "vacuum full" in single user mode?