Re: Should psql support URI syntax?

From: Adrian von Bidder <avbidder(at)fortytwo(dot)ch>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Should psql support URI syntax?
Date: 2011-04-06 20:05:42
Message-ID: 201104062205.50118@fortytwo.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Wednesday 06 April 2011 20.31:38 Joshua D. Drake wrote:
> postgres:ssl://localhost:5432/template1/?username=jd&password=foobar&ssl=
> true
>
> But I don't know if we want to go there.

I would expect that *if* an URI syntax becomes implemented, it should
support all possible options.

Especially things like ssl but also connecting via Unix socket instead of
TCP should be covered. Else applications would need to offer one way to
specify the "usual" connection and another way to offer configuration with
"special requirements" such as connection to unix socket or via ssl. (...
which would probably not be supported by many applications, since "everybody
connects to localhost:5432 anyway..."

-- vbi

--
FORTUNE REMEMBERS THE GREAT MOTHERS: #6

"Johnny, if you fall and break your leg, don't come running to me!"
-- Mrs. Emily Barstow, June 16, 1954

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Brar Piening 2011-04-06 20:07:52 Re: Windows build issues
Previous Message Robert Haas 2011-04-06 19:51:55 Re: Transaction log