Search Postgresql Archives

Re: \l of psql 8.4 looks ... unreadable on 80char default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Harald Armin Massa wrote:
> postgres=# \pset format wrapped
> Ausgabeformat ist ?wrapped?.
> postgres=# \l
>                                      Liste der Datenbanken
>    Name    | Eigent?mer | Kodierung |    Collation    |      Ctype      |    Zug
> riffsrechte
> -----------+------------+-----------+-----------------+-----------------+-------
> ----------------
>  ibox      | ibox       | UTF8      | German, Germany | German, Germany |
>  postgres  | postgres   | UTF8      | German, Germany | German, Germany |
>  template0 | postgres   | UTF8      | German, Germany | German, Germany | =c/pos
> tgres
>                                                                         : postgr
> es=CTc/postgres
>  template1 | postgres   | UTF8      | German, Germany | German, Germany | =c/pos
> tgres
>                                                                         : postgr
> es=CTc/postgres
> (4 Zeilen)

What is your $COLUMNS set to?  This should have wrapped to fit into the
screen with.  Also look at \pset columns:

          <quote>Wrapped</quote> is like <literal>aligned</> but wraps
          output to the specified width.  If <literal>\pset columns</> is
          zero (the default), <literal>wrapped</> mode only affects screen
          output and wrapped width is controlled by the environment
          variable <envar>COLUMNS</> or the detected screen width.  If
          <literal>\pset columns</> is set to a non-zero value, all output
          is wrapped, including file and pipe output.

-- 
  Bruce Momjian  <bruce@xxxxxxxxxx>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux