Re: WIP: URI connection string support for libpq

From: Alexander Shulgin <ash(at)commandprompt(dot)com>
To: cedric(at)2ndquadrant(dot)fr
Cc: pgsql-hackers(at)postgresql(dot)org, Florian Weimer <fweimer(at)bfk(dot)de>, Greg Smith <greg(at)2ndquadrant(dot)com>
Subject: Re: WIP: URI connection string support for libpq
Date: 2012-02-26 07:33:00
Message-ID: 4F49E02C.8060401@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2012-02-26 09:59:35 Re: 3rd Cluster Hackers Summit, May 15th in Ottawa
Previous Message Tatsuo Ishii 2012-02-26 05:11:15 How to know a table has been modified?