Re: enabling tcpip_socket by default
От | Greg Stark |
---|---|
Тема | Re: enabling tcpip_socket by default |
Дата | |
Msg-id | 873c5yvhy4.fsf@stark.xeocode.com обсуждение исходный текст |
Ответ на | Re: enabling tcpip_socket by default (Doug McNaught <doug@mcnaught.org>) |
Ответы |
Re: enabling tcpip_socket by default
|
Список | pgsql-hackers |
Doug McNaught <doug@mcnaught.org> writes: > Greg Stark <gsstark@mit.edu> writes: > > > Marko Karppinen <marko@karppinen.fi> writes: > > > >> On 17. touko 2004, at 10:40, Tatsuo Ishii wrote: > >> > Consider a program using JDBC on localhost. It can only reach to > >> > PostgreSQL via TCP/IP. > > > > Huh? Why on earth would that be true? Is this a limitation of our JDBC > > drivers? > > Java doesn't support Unix domain sockets. If you want to use JDBC, > you have to use TCP sockets. That doesn't follow. That just means you can't implement a unix domain socket driver using only Java. Is there some reason the driver has to be pure a Java driver? I had always assumed the JDBC driver isn't currently pure java and is just an API wrapper around libpq. Writing and maintaining a pure java driver would be much more work and be much slower for no practical gain. -- greg
В списке pgsql-hackers по дате отправления: