use superuser connection from php

Поиск
Список
Период
Сортировка
От pobox@verysmall.org
Тема use superuser connection from php
Дата
Msg-id 4610CDFE.7090607@verysmall.org
обсуждение исходный текст
Ответы Re: use superuser connection from php
Список pgsql-general
hello,

we have a php application which gets from time to time database errors
which look like there are not enough connections (we have 100
connections allowed to postgresql) -

i read that there are two db connections reserved for su. is there a way
to use them from php in order to check if the database is really out of
connections (with - 'SELECT count(*) FROM pg_stat_activity') or the
problem is different?

thanks,
iv


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

Предыдущее
От: "Shoaib Mir"
Дата:
Сообщение: Re: [ADMIN] Increasing the shared memory
Следующее
От: "Shoaib Mir"
Дата:
Сообщение: Re: Working between Windows and Unix