Re: specifying multiple options in URI psql behaviour?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Wim Bertels <wim(dot)bertels(at)ucll(dot)be>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: specifying multiple options in URI psql behaviour?
Date: 2023-10-02 14:21:29
Message-ID: 2018730.1696256489@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

> #psql postgresql://myuser(at)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Douglas Reed 2023-10-02 14:38:46 Problems starting slave
Previous Message Tom Lane 2023-10-02 14:16:18 Re: How to investigate deadlocks