From: | "Mitch Vincent" <mvincent(at)cablespeed(dot)com> |
---|---|
To: | Martín Marqués <martin(at)bugs(dot)unl(dot)edu(dot)ar>, <pgsql-php(at)postgresql(dot)org> |
Subject: | Re: persistent vs. non-persistent |
Date: | 2001-10-01 22:56:37 |
Message-ID: | 01d501c14acc$54b3d520$1e51000a@mitch |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
I'm not sure about the internal workings, I see what you mean and will await
your finding with great interest!
-Mitch
----- Original Message -----
From: "Martín Marqués" <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: <pgsql-php(at)postgresql(dot)org>
Sent: Monday, October 01, 2001 6:53 PM
Subject: Re: [PHP] persistent vs. non-persistent
> On Lun 01 Oct 2001 18:46, you wrote:
> > > I'm having headaches with PHP, postgres and persistent connections.
> >
> > They never have really worked for me, but I haven't tried with the
recent
> > PHP->PGSQL improvements..
> >
> > > The problem is that my postgres backends stay alive after closing the
> > > connection.
> >
> > That's what a persistant connection is, though... You'll have as many
> > minimum PG backends hanging around as you do minimum apache backends
(once
> > that many PG backends get started, they hang around).
> >
> > > 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?
> >
> > Sure, don't use persistant connections..It sounds like they're the
opposite
> > of what you want...
>
> I've been all day looking for solid info on this case, and what I thought
is
> this:
>
> Is there a way to seek for open db connections?
>
> I don't understand why apache (or PHP) doesn't see that it has a
persistent
> database connection open to use.
>
> I'm checking the PHP PGSQL extensions at this moment.
> More info later....
>
> Saludos.... ;-)
>
> --
> Porqué usar una base de datos relacional cualquiera,
> si podés usar PostgreSQL?
> -----------------------------------------------------------------
> Martín Marqués | mmarques(at)unl(dot)edu(dot)ar
> Programador, Administrador, DBA | Centro de Telematica
> Universidad Nacional
> del Litoral
> -----------------------------------------------------------------
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
From | Date | Subject | |
---|---|---|---|
Next Message | Frank Joerdens | 2001-10-02 09:21:17 | Re: persistent vs. non-persistent |
Previous Message | Martín Marqués | 2001-10-01 22:53:11 | Re: persistent vs. non-persistent |