Tom Lane wrote:
> Gaetano Mendola <mendola(at)bigfoot(dot)com> writes:
>>P.A.M. van Dam wrote:
>>>I'm looking for a command or method to find out what queries are
>>>currently being serviced by the database.
>>select * from pg_stat_activity;
> ... having first remembered to turn on stats_command_string; and
> thou shalt also be superuser.
> [ anybody else remember Monty Python's scriptures concerning the
> Holy Hand Grenade? ]
Do you mean this ?
Then did he raise on high the Holy Hand Grenade of Antioch, saying,
"Bless this, O Lord, that with it thou mayst blow thine enemies to
tiny bits, in thy mercy." And the people did rejoice and did feast
upon the lambs and toads and tree-sloths and fruit-bats and orangutans
and breakfast cereals ... Now did the Lord say, "First thou pullest
the Holy Pin. Then thou must count to three. Three shall be the number
of the counting and the number of the counting shall be three. Four
shalt thou not count, neither shalt thou count two, excepting that
thou then proceedeth to three. Five is right out. Once the number
three, being the number of the counting, be reached, then lobbest
thou the Holy Hand Grenade in the direction of thine foe, who, being
naughty in my sight, shall snuff it."
In response to
pgsql-admin by date
|Next:||From: Doug Quale||Date: 2004-06-30 09:03:26|
|Subject: Re: grant execute on many functions|
|Previous:||From: Peter Eisentraut||Date: 2004-06-30 06:49:18|
|Subject: Re: PITR Error Message assistance|