Re: [GENERAL] Unix domain instead of TCP socket connections with JDBC.

2003-09-07 Thread Tom Lane
[EMAIL PROTECTED] (Alex Martinoff) writes: > ... Using a TCP socket > instead of a unix socket seems to slow down requests that return large > result sets by a factor of 3 on the same machine. Seems like a kernel bug to me. All modern TCP stacks have shortcuts for local connections. What platfo

[GENERAL] Unix domain instead of TCP socket connections with JDBC.

2003-09-07 Thread Alex Martinoff
Using the org.postgresql.Driver JDBC driver is it possible to connect to Postgres using a unix domain socket instead of a TCP socket (so you don't have to start the postmaster with -i)? Using a TCP socket instead of a unix socket seems to slow down requests that return large result sets by a factor