pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Wim Bertels <wim.bertels@ucll.be>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: specifying multiple options in URI psql behaviour?
Date: Mon, 02 Oct 2023 10:21:29 -0400
Message-ID: <2018730.1696256489@sss.pgh.pa.us> (raw)
In-Reply-To: <e43d805a2fdf29d5e587fd9fe2358b7a92000d51.camel@ucll.be>
References: <e43d805a2fdf29d5e587fd9fe2358b7a92000d51.camel@ucll.be>

Wim Bertels <wim.bertels@ucll.be> writes:
> * but if you put more than 1 option, then it doesn't?:

> #psql postgresql://myuser@myserver/mydb?connect_timeout=10&target_session_attrs=any

Maybe you forgot to quote that?  Ampersand is a shell metacharacter.

(It does seem to work for me, as long as I put quotes around the URL.)

			regards, tom lane





view thread (4+ messages)  latest in thread

Message-ID: <2018730.1696256489@sss.pgh.pa.us>
Permalink:  ../2018730.1696256489@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2018730.1696256489@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, wim.bertels@ucll.be
  Subject: Re: specifying multiple options in URI psql behaviour?
  In-Reply-To: <2018730.1696256489@sss.pgh.pa.us>
  References: <e43d805a2fdf29d5e587fd9fe2358b7a92000d51.camel@ucll.be> <2018730.1696256489@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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