Re: use superuser connection from php

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: use superuser connection from php
Дата
Msg-id 20070402104636.GA9547@svana.org
обсуждение исходный текст
Ответ на use superuser connection from php  ("pobox@verysmall.org" <pobox@verysmall.org>)
Ответы Re: use superuser connection from php
Список pgsql-general
On Mon, Apr 02, 2007 at 11:33:50AM +0200, pobox@verysmall.org wrote:
> 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?

To use the superuser connections you need to login as superuser...

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: Russell Smith
Дата:
Сообщение: Re: Working between Windows and Unix
Следующее
От: Ragnar
Дата:
Сообщение: Re: queries stop using indexes