[PATCHES] psql \G command -- send query and output using extended format

2008-04-03 Thread Dawid Kuroczko
Hello! Attached is a simple patch which adds a "\G" backslash command, that is similar "\g" command. The difference is that "\G" prints results using extended output format. After the query the format is reset to the original value. In other words command like: SELECT * FROM pg_stat_activity

Re: [HACKERS] [PATCHES] Dbsize backend integration

2005-07-03 Thread Dawid Kuroczko
On 7/3/05, Andreas Pflug <[EMAIL PROTECTED]> wrote: > > Yup, attached. Per our earlier conversation, pg_dbfile_size() now > > returns the size of a table or index, and pg_relation_size() returns the > > total size of a relation and all associated indexes and toast tables > > etc. > > pg_relation_s