Re: persistent vs. non-persistent

Поиск
Список
Период
Сортировка
От Mitch Vincent
Тема Re: persistent vs. non-persistent
Дата
Msg-id 01a301c14ac2$908990d0$1e51000a@mitch
обсуждение исходный текст
Ответ на persistent vs. non-persistent  (Martín Marqués <martin@bugs.unl.edu.ar>)
Ответы Re: persistent vs. non-persistent
Список pgsql-php
> 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...

-Mitch



В списке pgsql-php по дате отправления:

Предыдущее
От: Martín Marqués
Дата:
Сообщение: persistent vs. non-persistent
Следующее
От: Martín Marqués
Дата:
Сообщение: Re: persistent vs. non-persistent