postgres and persistant connections (using Apache::DBI)

Поиск
Список
Период
Сортировка
От Salem Berhanu
Тема postgres and persistant connections (using Apache::DBI)
Дата
Msg-id BAY103-F37CAE8D3D56B8CB2E1C6B1EFD30@phx.gbl
обсуждение исходный текст
Ответы Re: postgres and persistant connections (using Apache::DBI)  ("Rajesh Kumar Mallah" <mallah.rajesh@gmail.com>)
Список pgsql-admin
I am trying to set up a persistent connection to a handful of postgres dbs
at startup using Apache::DBI (also using mod_perl)
Here is what I am doing but I am not sure how to check if it's working
right.

in httpd.conf I have
PerlRequire startup.pl

in startup.pl I load all the necessary perl modules and also include the
lines

use Apache::DBI;
Apache::DBI->connect_on_init( host, login, password);

This doesn�t seem to make any difference. I was expecting to see database
connections when I restarted apache and that all queries would get handled
by these connections. Is this a wrong assumption? What is the expectation
and what would be a good test when setting up persistent connections to a
postgres db?
Thanks much
Salem



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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Bloated pg_shdepend_depender_index
Следующее
От: lmyho
Дата:
Сообщение: Re: PostgreSQl newbie! -PLease help, pgAdmin3 on Debian!