Doug McNaught <[EMAIL PROTECTED]> writes:

> Greg Stark <[EMAIL PROTECTED]> writes:
> 
> > Marko Karppinen <[EMAIL PROTECTED]> 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


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to