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