Re: use superuser connection from php

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: "pobox(at)verysmall(dot)org" <pobox(at)verysmall(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: use superuser connection from php
Date: 2007-04-02 10:46:36
Message-ID: 20070402104636.GA9547@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Guillaume Bog 2007-04-02 11:39:26 A little help for big forms
Previous Message Russell Smith 2007-04-02 10:38:32 Re: Working between Windows and Unix