Re: WIP: URI connection string support for libpq

Florian Weimer <fweimer@bfk.de>

From: Florian Weimer <fweimer@bfk.de>
To: Alex Shulgin <ash@commandprompt.com>
Cc: Greg Smith <greg@2ndQuadrant.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2012-02-24T13:18:44Z
Lists: pgsql-hackers
* Alex Shulgin:

>> It's ugly, but it's standard practice, and seems better than a separate
>> -d parameter (which sort of defeats the purpose of URIs).
>
> Hm, do you see anything what's wrong with "?dbname=other" if you don't
> like a separate -d?

It's not nice URI syntax, but it's better than an out-of-band mechanism.

-- 
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99