Re: Notes on implementing URI syntax for libpq

From: Florian Weimer <fweimer(at)bfk(dot)de>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Alexander Shulgin <ash(at)commandprompt(dot)com>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Notes on implementing URI syntax for libpq
Date: 2011-11-24 14:50:45
Message-ID: 82ipm9a81m.fsf@mid.bfk.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Alvaro Herrera:

> Excerpts from Florian Weimer's message of jue nov 24 11:31:29 -0300 2011:
>>
>> * Alvaro Herrera:
>>
>> > I think we should just propose something that will not work in JDBC.
>>
>> I'm not sure if this is a good idea. 8-)
>>
>> I plan to add UNIX Domain socket support to the JDBC driver.
>> Eventually, the JDK will expose UNIX Domain sockets to Java code, too
>> (they are already used internally for management functions).
>
> Well, in that case, the JDBC could simply adopt whatever syntax that
> libpq ends up adopting. I just meant "something that will not work in
> JDBC *right now*" (i.e. with no local socket support).

Ah, okay, your proposal looked like something which couldn't work with
JDBC *at all* because of invalid URI syntax (but admittedly, I haven't
checked that yet).

--
Florian Weimer <fweimer(at)bfk(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-11-24 15:02:13 Re: Notes on implementing URI syntax for libpq
Previous Message Florian Weimer 2011-11-24 14:49:01 Re: Wire protocol: type-specific opt-in to binary format