pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mitch Vincent <mvincent@cablespeed.com>
To: Hunter, Ray <rhunter@enterasys.com>
To: pgsql-php@postgresql.org
Subject: Re: pg_connect vs. pg_pconnect
Date: Wed, 8 Aug 2001 20:09:34 -0400
Message-ID: <00b301c12067$9259bf00$0b51000a@epox450> (raw)
References: <59358A738F45D51186A30008C74CE2500A0843@slc-exc1.ctron.com>

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@enterasys.com>
To: <pgsql-php@postgresql.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@enterasys.com
>
> www.enterasys.com
>




view thread (11+ messages)  latest in thread

Message-ID: <00b301c12067$9259bf00$0b51000a@epox450>
Permalink:  ../00b301c12067$9259bf00$0b51000a@epox450/
Also on:    postgresql.org/message-id/00b301c12067$9259bf00$0b51000a@epox450

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: mvincent@cablespeed.com, rhunter@enterasys.com
  Subject: Re: pg_connect vs. pg_pconnect
  In-Reply-To: <00b301c12067$9259bf00$0b51000a@epox450>
  References: <59358A738F45D51186A30008C74CE2500A0843@slc-exc1.ctron.com> <00b301c12067$9259bf00$0b51000a@epox450>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox