Re: Connection pooling. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Connection pooling.
Date
Msg-id 22133.963385453@sss.pgh.pa.us
Whole thread Raw
In response to Re: Connection pooling.  (Alfred Perlstein <bright@wintelcom.net>)
Responses Re: Connection pooling.  (Alfred Perlstein <bright@wintelcom.net>)
List pgsql-hackers
Alfred Perlstein <bright@wintelcom.net> writes:
> * Tom Lane <tgl@sss.pgh.pa.us> [000711 22:53] wrote:
>> The killer problem here is that you can't hand off a connection
>> accepted by the postmaster to a backend except by fork() --- at least
>> not with methods that work on a wide variety of Unixen.

> The code has been around since 4.2BSD, it takes a bit of #ifdef to
> get it right on all systems but it's not impossible, have a look at
> http://www.fhttpd.org/ for a web server that does this in a portable
> fashion.

I looked at this to see if it would teach me something I didn't know.
It doesn't.  It depends on sendmsg() which is a BSD-ism and not very
portable.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alfred Perlstein
Date:
Subject: Re: Connection pooling.
Next
From: Alfred Perlstein
Date:
Subject: Re: Connection pooling.