specifying multiple options in URI psql behaviour? - Mailing list pgsql-general

From Wim Bertels
Subject specifying multiple options in URI psql behaviour?
Date
Msg-id e43d805a2fdf29d5e587fd9fe2358b7a92000d51.camel@ucll.be
Whole thread Raw
Responses Re: specifying multiple options in URI psql behaviour?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hello,

can anyone confirm this?:

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

like

#psql postgresql://myuser@myserver/mydb?connect_timeout=10

or

#psql postgresql://myuser@myserver/mydb?target_session_attrs=any

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

#psql
postgresql://myuser@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

pgsql-general by date:

Previous
From: "Colin 't Hart"
Date:
Subject: Cancelling "vacuum full" in single user mode?
Next
From: Laurenz Albe
Date:
Subject: Re: Cancelling "vacuum full" in single user mode?