Re: [GENERAL] psql verbose mode

2008-12-09 Thread Filip Rembiałkowski
2008/12/2 Grzegorz Jaśkiewicz <[EMAIL PROTECTED]> > On Tue, Dec 2, 2008 at 11:40 AM, Richard Huxton <[EMAIL PROTECTED]> wrote: > > > Is \l+ what you mean? > > same thing but from command line ? > not the shell > it looks like a useful and easy to implement TODO item :) > > -- > GJ > > -- > Se

Re: [GENERAL] psql verbose mode

2008-12-04 Thread Grzegorz Jaśkiewicz
On Thu, Dec 4, 2008 at 11:36 AM, Filip Rembiałkowski <[EMAIL PROTECTED]> wrote: > There is another way - much simpler I think: > > psql -c '\l+' you're spoiling all the fun mate :P I think there ought to be some sort of --verbose mode, otherwise they wouldn't even bother implementing -l , with -c

Re: [GENERAL] psql verbose mode

2008-12-04 Thread Filip Rembiałkowski
2008/12/4 Grzegorz Jaśkiewicz <[EMAIL PROTECTED]> > yup, looks like I'll have to implement it myself :P > After a bit of investigation I think it's not so easy. -v switch is reserved in psql for "set variable". So the patch would have to inctroduce a new switch or use VERBOSITY environment varia

Re: [GENERAL] psql verbose mode

2008-12-04 Thread Grzegorz Jaśkiewicz
yup, looks like I'll have to implement it myself :P -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] psql verbose mode

2008-12-02 Thread Grzegorz Jaśkiewicz
On Tue, Dec 2, 2008 at 11:40 AM, Richard Huxton <[EMAIL PROTECTED]> wrote: > Is \l+ what you mean? same thing but from command line ? not the shell -- GJ -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailp

Re: [GENERAL] psql verbose mode

2008-12-02 Thread Richard Huxton
Grzegorz Jaśkiewicz wrote: > hey folks, > > browsing psql source,I came across one of the variations of \list / -l > option, that could also print database size, which would be quite nice. But > that only seem to work in 'verbose' mode. Now, how can I turn that mode on > on command line, psql -lv

[GENERAL] psql verbose mode

2008-11-28 Thread Grzegorz Jaśkiewicz
hey folks, browsing psql source,I came across one of the variations of \list / -l option, that could also print database size, which would be quite nice. But that only seem to work in 'verbose' mode. Now, how can I turn that mode on on command line, psql -lv doesn't do ;> -- GJ