Re: Pooling Connections with libpq

From: Shaw Terwilliger <sterwill(at)sourcegear(dot)com>
To: Alfred Perlstein <bright(at)wintelcom(dot)net>
Cc: Shaw Terwilliger <sterwill(at)sourcegear(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Pooling Connections with libpq
Date: 2001-02-22 23:49:46
Message-ID: 20010222174945.B15174@lister.sourcegear.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alfred Perlstein wrote:
> As a general safety precaution I would close a connection after a
> timeout or N uses.

My application is running on the same host as PostgreSQL, so connection
timeouts should be rare (I guess this would only happen if a backend died).
Re-opening the connection after N uses sounds like a reasonable precaution
though.

(Hopefully my PGP signatures are correct this time.)

--
Shaw Terwilliger <sterwill(at)sourcegear(dot)com>
SourceGear Corporation
217.356.0105 x 641

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alfred Perlstein 2001-02-22 23:57:12 Re: Pooling Connections with libpq
Previous Message Alfred Perlstein 2001-02-22 23:45:31 Re: Pooling Connections with libpq