From: Martín Marqués <martin@bugs.unl.edu.ar>
To: pgsql-php@postgresql.org
Subject: persistent vs. non-persistent
Date: Mon, 1 Oct 2001 18:38:17 -0300
Message-ID: <20011001213819.82F8B2AB46@bugs.unl.edu.ar> (raw)
I'm having headaches with PHP, postgres and persistent connections.
The problem is that my postgres backends stay alive after closing the
connection.
I use pg_pconnect to connect to the database, put after closing the
conection, nothing happens, la backend stays alive, and all I can do is
restart apache to make them close (really close).
Any solution to this?
I'm on Solairs, Apache 1.3.14, PHP 4.0.6, PostgreSQL 7.1.2, I have persistent
connections enabled in PHP, and a max of 3 persistent connections.
Saludos... :-)
--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques@unl.edu.ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------
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: martin@bugs.unl.edu.ar
Subject: Re: persistent vs. non-persistent
In-Reply-To: <20011001213819.82F8B2AB46@bugs.unl.edu.ar>
References: <20011001213819.82F8B2AB46@bugs.unl.edu.ar>
* 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