Skip site navigation (1) Skip section navigation (2)

8.4 - psql output for \l

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: 8.4 - psql output for \l
Date: 2009-01-04 10:48:17
Message-ID: 20090104104817.GA697@depesz.com (view raw or flat)
Thread:
Lists: pgsql-hackers
is it going to stay that way? i find it actually worse than 8.3
behaviour:

(depesz(at)[local]:5840) 11:43:40 [depesz]
# \l
                                List of databases
   Name    |  Owner   | Encoding |  Collation  |    Ctype    | Access privileges
-----------+----------+----------+-------------+-------------+-------------------
 depesz    | depesz   | UTF8     | pl_PL.UTF-8 | pl_PL.UTF-8 |
 postgres  | pgdba    | UTF8     | pl_PL.UTF-8 | pl_PL.UTF-8 |
 template0 | pgdba    | UTF8     | pl_PL.UTF-8 | pl_PL.UTF-8 | =c/pgdba
                                                             : pgdba=CTc/pgdba
 template1 | pgdba    | UTF8     | pl_PL.UTF-8 | pl_PL.UTF-8 | pgdba=CTc/pgdba
                                                             : =c/pgdba
 test      | depesz   | UTF8     | pl_PL.UTF-8 | pl_PL.UTF-8 |
(7 rows)

do we really have to introduce newlines even when it would (without any problem) fit in single line?

I mean - I udnerstand that if the grants are long, and complex - it makes sense
to display them like this, displaying extra lines just for superuser privileges
looks weird.

Best regards,

depesz

-- 
Linkedin: http://www.linkedin.com/in/depesz  /  blog: http://www.depesz.com/
jid/gtalk: depesz(at)depesz(dot)com / aim:depeszhdl / skype:depesz_hdl / gg:6749007

pgsql-hackers by date

Next:From: Heikki LinnakangasDate: 2009-01-04 10:49:07
Subject: Re: pg_stats queries versus per-database encodings
Previous:From: Simon RiggsDate: 2009-01-04 09:21:50
Subject: Re: Latest version of Hot Standby patch:unexpected error querying standby

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group