SELECT count(*) FROM pg_stat_activity WHERE datname = 'postgres'

2010/6/21 Jesus Rodrigues <[email protected]>

> Pessoal,
>
> Como faço para saber, via sql, o número de conexões atuais no bd
> postgresql?
>
> Obrigado.
>
>
> _______________________________________________
> pgbr-geral mailing list
> [email protected]
> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
>
>


-- 
Diogo Biazus - [email protected]
Softa
http://www.softa.com.br
http://www.postgresql.org.br
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a