Hi
terrible often I use pattern
psql -c "select datname from pg_database where not datistemplate anddatallowconn" postgres
What about introduction new long option that does it?
psql -At -list --names --without-templates
Regards
Pavel