Search Postgresql Archives

Re: use superuser connection from php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 02, 2007 at 11:33:50AM +0200, pobox@xxxxxxxxxxxxx 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@xxxxxxxxx>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment: signature.asc
Description: Digital signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux