Re: [HACKERS] option for psql - short list non template database

2015-07-17 Thread Pavel Stehule
2015-07-17 18:56 GMT+02:00 Robert Haas : > On Thu, Jul 16, 2015 at 12:21 AM, Pavel Stehule > wrote: > > terrible often I use pattern > > > > psql -c "select datname from pg_database where not datistemplate and > > datallowconn" postgres > > > > What about introduction new long option that does i

Re: [HACKERS] option for psql - short list non template database

2015-07-17 Thread Robert Haas
On Thu, Jul 16, 2015 at 12:21 AM, Pavel Stehule wrote: > terrible often I use pattern > > psql -c "select datname from pg_database where not datistemplate and > datallowconn" postgres > > What about introduction new long option that does it? > > psql -At -list --names --without-templates I think

[HACKERS] option for psql - short list non template database

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