Re: WIP: URI connection string support for libpq

Alex Shulgin <ash@commandprompt.com>

From: Alexander Shulgin <ash@commandprompt.com>
To: cedric@2ndquadrant.fr
Cc: pgsql-hackers@postgresql.org, Florian Weimer <fweimer@bfk.de>, Greg Smith <greg@2ndquadrant.com>
Date: 2012-02-26T07:33:00Z
Lists: pgsql-hackers
On 02/25/2012 09:37 PM, Cédric Villemain wrote:
>
> I've not followed all the mails about this feature but I don't find it is a
> nice syntax too.
>
> "?dbname=other" looks like dbname is an argument, but dbname is a requirement
> for postgresql connexion.

Ugh, not really.  AFAIK, dbname is a connection option which defaults to 
$USER, unless overridden on command line or in the environment (or via a 
service file.)

--
Alex