Re: pg_connect vs. pg_pconnect

From: "Mitch Vincent" <mvincent(at)cablespeed(dot)com>
To: "Hunter, Ray" <rhunter(at)enterasys(dot)com>, <pgsql-php(at)postgresql(dot)org>
Subject: Re: pg_connect vs. pg_pconnect
Date: 2001-08-09 00:09:34
Message-ID: 00b301c12067$9259bf00$0b51000a@epox450
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

If you're using pg_connect they should be terminating... Are you using
pg_connect or pg_pconnect?

-Mitch
Software development :
You can have it cheap, fast or working. Choose two.

----- Original Message -----
From: "Hunter, Ray" <rhunter(at)enterasys(dot)com>
To: <pgsql-php(at)postgresql(dot)org>
Sent: Wednesday, August 08, 2001 7:40 PM
Subject: [PHP] pg_connect vs. pg_pconnect

> I understand the difference between the two functions. However, when I
> watch my process under process management I notice that I have tons of
> sleeping process that are lingering. How can I make it so that when I
> connect to postgres and query that the connect process is then terminated?
> These sleeping connections are eating up my resources.
>
>
> Any suggestions?
>
>
>
> RAY HUNTER
> Automated Test Group
> Software Support Engineer
>
> ENTERASYS NETWORKS
>
> Internal: 53888
> Phone: 801 887-9888
> Fax: 801 972-5789
> Cellular: 801 698-0622
>
> rhunter(at)enterasys(dot)com
>
> www.enterasys.com
>

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Hunter, Ray 2001-08-09 12:42:25 RE: pg_connect vs. pg_pconnect
Previous Message Hunter, Ray 2001-08-08 23:40:16 pg_connect vs. pg_pconnect