Re: Connecting over UNIX domain sockets
От
Florian Weimer
Тема
Re: Connecting over UNIX domain sockets
Дата
Msg-id
82aai5zf8f.fsf@mid.bfk.de
Ответ на
Re: Connecting over UNIX domain sockets (John R Pierce)
Список
Дерево обсуждения
Re: Connecting over UNIX domain sockets Phil Clay <pilf_b@yahoo.com>
Re: Connecting over UNIX domain sockets Hannu Krosing <hannu@2ndQuadrant.com>
Re: Connecting over UNIX domain sockets Craig Ringer <craig@postnewspapers.com.au>
Re: Connecting over UNIX domain sockets Bruno Harbulot <bruno@distributedmatter.net>
* John R. Pierce: > On 02/08/11 6:55 AM, Florian Weimer wrote: >> I would like to have the option to connect to the database over UNIX >> domain sockets (sidestepping the question of password management). >> >> Even though the JVM knows about UNIX domain sockets, this >> functionality is not exposed to user code, so we'd have to add some >> JNI code. Would you like to integrate this in some way? If yes, >> would you prefer a socket-based or libpq-based approach? > > socket based would require less work, as you'd just add that to the > existing socket code, while using libpq would essentially end up with > an entirely different JDBC. I would try to add a low-level read/write API to libpq. libpq would only handle configuration processing, authentication and the transport layer (which may include TLS). > managing and installing JNI based code across platforms is a pain in > the sternum. Some people do have working software distribution platforms. 8-) -- Florian Weimer BFK edv-consulting GmbH http://www.bfk.de/ Kriegsstraße 100 tel: +49-721-96201-1 D-76133 Karlsruhe fax: +49-721-96201-99
В списке pgsql-jdbc по дате отправления
От: Oliver Jowett
Дата: