Re: pg_pconnect - ??

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Marco Colombo" <marco(at)esi(dot)it>, "Frank Bax" <fbax(at)sympatico(dot)ca>
Cc: "Chris Ruprecht" <chrup999(at)yahoo(dot)com>, "PostGreSQL PHP Group" <pgsql-php(at)postgresql(dot)org>
Subject: Re: pg_pconnect - ??
Date: 2002-02-01 00:38:25
Message-ID: GNELIHDDFBOCMGBFGEFOAEEACBAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

> Are you sure? Doesn't the httpd child process close the active connection
> if the database/username pair is different, before opening a new one?
> On a db with say 10000 different users, the usage of pconnect() may
> potentially lead to 10000 * B open connections (thus postgres backends),
> most of those completely useless...
>
> ... some thinking ...
>
> no, I was wrong:
>
> pgsql.max_persistent integer
> The maximum number of persistent Postgres connections per process.
> ^^^^^^^^^^^

See the big argument I had with the PHP developers with regards to the
crapness of their persistent connection implementation for Postgres:

http://bugs.php.net/bug.php?id=13463

I still don't think the guy has any idea what I'm talking about, and they've
filed my report as 'bogus'. Very annoying...

Chris

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Vizoni 2002-02-01 01:23:29 CASAS DE MADEIRA COM PREÇOS PROMOCIONAIS !!!!!
Previous Message Frank Bax 2002-01-31 21:29:54 Re: pg_pconnect - ??