Andrew Dunstan wrote:
It does seem a bit inconsistent that psql wouldn't connect to the specified database in order to do -l, if one is specified. Anyone want to look and see if it's easy to change?options.action == ACT_LIST_DB && options.dbname == NULL ? "postgres" : options.dbname
Tested, and worked fine. Committed on Head and 8.1 branches. cheers andrew ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster