From: Chris Ruprecht <chrup999@yahoo.com>
To: pgsql-php@postgresql.org
Subject: Re: Postgress jobs stick around after they have completed
Date: Thu, 28 Jun 2001 21:03:07 -0500
Message-ID: <B7614C0A.2079%chrup999@yahoo.com> (raw)
In-Reply-To: <5592989937.20010625220919@techpilots.net>
on 06/25/2001 23:09, Jason k Larson at jlarson@techpilots.net wrote:
> Hello -
>
> Your result of 1 means the close was (supposedly) successful. Not
> sure why you have processes still running though. I would certainly
> expect this pg_pconnect .. are you certain that nowhere else in the
> script is attempting persistent connections? Or was using persistent
> connections .. when in doubt .. try restarting Apache (apachectl
> restart) and see if this process goes away (as it should if PHP
> launched it, etc.)
Ok - I found the bug - I did a pg_pconnect(...). After I changed that to a
pg_connect, the session terminated upon pg_close( ... ).
Since I have not quite been able to locate any docs on PHP-PG connections
and their commands - why would I use a persistent connection? What can I do
with it? Will it stay open until - when?
Thanks for your help guys!!
Chris
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
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: chrup999@yahoo.com
Subject: Re: Postgress jobs stick around after they have completed
In-Reply-To: <B7614C0A.2079%chrup999@yahoo.com>
References: <5592989937.20010625220919@techpilots.net> <B7614C0A.2079%chrup999@yahoo.com>
* 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