Re: Calls to find Users and databases open... - Mailing list pgsql-general

From Martin Marques
Subject Re: Calls to find Users and databases open...
Date
Msg-id 200404301147.58626.martin@bugs.unl.edu.ar
Whole thread Raw
In response to Calls to find Users and databases open...  ("Thomas LeBlanc" <thomasatiem@hotmail.com>)
List pgsql-general
El Vie 30 Abr 2004 11:16, Thomas LeBlanc escribió:
> What are the SQL commands to find who is logged on a server, what database
> he/she has open, etc?
>
> Where is this information in the help file or documentation?

select * from pg_stat_activity;

--
 11:47:01 up 1 day, 17:09,  3 users,  load average: 0.21, 0.65, 0.89
-----------------------------------------------------------------
Martín Marqués        | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica  |  DBA, Programador, Administrador
             Universidad Nacional
                  del Litoral
-----------------------------------------------------------------

pgsql-general by date:

Previous
From: "Thomas LeBlanc"
Date:
Subject: Calls to find Users and databases open...
Next
From: "Karl O. Pinc"
Date:
Subject: Re: Plpgsql problem passing ROWTYPE to function