"Percy" <percy_yip(at)yahoo(dot)com> writes:
> Is there any way to find out the number of connections to postmaster?
In 7.2, "select count(*) from pg_stat_activity" should do it. See
http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/monitoring.html
regards, tom lane