From: Hunter, Ray <rhunter@enterasys.com>
To: 'Chris Ruprecht' <chrup999@yahoo.com>
Cc: Pgsql-php (E-mail) <pgsql-php@postgresql.org>
Subject: RE: Postgress jobs stick around after they have completed
Date: Mon, 25 Jun 2001 18:32:58 -0400
Message-ID: <59358A738F45D51186A30008C74CE2500A07B1@slc-exc1.ctron.com> (raw)
You might want to have the connection be a "pg_pconnect()" and then use a
close() to close the connection.
Ray
-----Original Message-----
From: Chris Ruprecht [mailto:chrup999@yahoo.com]
Sent: Monday, June 25, 2001 1:06 PM
To: p-php
Subject: [PHP] Postgress jobs stick around after they have completed
Hi all,
This is on:
RedHat Linux 7.0
Apache 1.3.20
PHP 4.0.6
PostGreSQL 7.1.2
I run a procedure which does a $conn = pg_connect(...); and later a $res =
pg_close( $conn );
The later returns '1' as a result - not sure if that is good or bad (0 =
false, 1 = true?). However, I have the completed job still hanging around
when I do a ps -ef:
postgres 7493 928 14 13:55 ? 00:00:34 postgres: apache phones
[local]
Where am I going wrong?
Best regards,
Chris
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://www.postgresql.org/search.mpl
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: rhunter@enterasys.com, chrup999@yahoo.com
Subject: Re: Postgress jobs stick around after they have completed
In-Reply-To: <59358A738F45D51186A30008C74CE2500A07B1@slc-exc1.ctron.com>
References: <59358A738F45D51186A30008C74CE2500A07B1@slc-exc1.ctron.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