Skip site navigation (1) Skip section navigation (2)

Re: Should psql support URI syntax?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Adrian von Bidder <avbidder(at)fortytwo(dot)ch>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Should psql support URI syntax?
Date: 2011-04-03 09:32:34
Message-ID: (view raw or whole thread)
Lists: pgsql-hackers
On fre, 2011-04-01 at 09:12 +0200, Adrian von Bidder wrote:
> Since URI stings are popular, it might really make sense if pg could 
> recommend a preferred form of postgres URI strings (and obviously
> implement it in libpq).  For the non-libpq APIs (there's at least 
>, don't know about others), it
> would still be just a recommendation that they could follow or not
> follow, so the situation wouldn't change too much from today, I fear.

Well, there isn't any requirement that URIs be


They just have to be


So you could just turn the existing conninfo syntax into a URI by doing
something like


In response to


pgsql-hackers by date

Next:From: Magnus HaganderDate: 2011-04-03 14:04:41
Subject: Re: Windows build issues
Previous:From: Devrim GÜNDÜZDate: 2011-04-03 08:34:49
Subject: Re: psql 9.1 alpha5: connection pointer is NULL

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group