Re: client interfaces - Mailing list pgsql-general

From Michael Fuhr
Subject Re: client interfaces
Date
Msg-id 20050412151735.GA88695@winnie.fuhr.org
Whole thread Raw
In response to client interfaces  ("David Parker" <dparker@tazznetworks.com>)
List pgsql-general
On Tue, Apr 12, 2005 at 10:51:09AM -0400, David Parker wrote:
>
> Is there anything like a client library for postgres that does not use
> tcp/ip as the protocol? As part of the performance tuning of our
> application, the question was posed to me whether there was a more
> "direct" sort of API that would not require going through the tcp/ip
> stack. I assume the answer to this is "no", and I see no hint of
> anything in the source code, but I thought I would ask the question,
> just to be sure.

PostgreSQL supports connections over Unix-domain (AF_UNIX) sockets
if your system does.  They still use the socket interface, but
they're typically faster than a TCP connection.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: client interfaces
Next
From: "FERREIRA William (COFRAMI)"
Date:
Subject: Re: Get Number of milliseconds for an intervall