julmon/pg_activity — pull request #17 by afirel (2013-04-12 09:20:13+00:00)
Title: Support defining the database to connect to.

One might not be allowed to connect to 'postgres' database remotely
(i.e. hba limitations).

Optionally the database to connect to can be read from the environment
variable PGDATABASE. If not set, 'postgres' is used as a default.

Would be nice though to set the database via a command line parameter.