Re: Usúario Conectados

From: "Christian Rengstl" <Christian(dot)Rengstl(at)klinik(dot)uni-regensburg(dot)de>
To: "Cristiano Panvel" <cristiano(dot)panvel(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Usúario Conectados
Date: 2007-11-12 14:02:07
Message-ID: 47386B47.90AD.0080.0@klinik.uni-regensburg.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

you could use "select usename from pg_stat_activity;"

PS. this is an english-speaking list, so for the future please write
your mails in english.

Christian Rengstl M.A.
Klinik und Poliklinik für Innere Medizin II
Kardiologie - Forschung
Universitätsklinikum Regensburg
B3 1.388
Franz-Josef-Strauss-Allee 11
93053 Regensburg
Tel.: +49-941-944-7230

>>> On Mon, Nov 12, 2007 at 2:42 PM, in message
<8e8b996b0711120542p6c8a0439v61a2275482cc4415(at)mail(dot)gmail(dot)com>,
"Cristiano
Panvel" <cristiano(dot)panvel(at)gmail(dot)com> wrote:
> Oi Rapazeada,
>
> Existe alguma função do PostgreSQL para eu listar os usúarios que
> estão conectados
> ao banco, minha aplicação autentica com os usúarios diretamente do
banco.
>
> Cris
>
> --------------------------- (end of
broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ken Winter 2007-11-12 15:04:12 How to uninstall the geometry package?
Previous Message Martijn van Oosterhout 2007-11-12 13:55:03 Re: Regression in 8.3?