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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: \l of psql 8.4 looks ... unreadable on 80char default
Дата
Msg-id 200902191322.n1JDMUn03322@momjian.us
обсуждение исходный текст
Ответ на Re: \l of psql 8.4 looks ... unreadable on 80char default  (Harald Armin Massa <haraldarminmassa@gmail.com>)
Ответы Re: \l of psql 8.4 looks ... unreadable on 80char default  (Harald Armin Massa <haraldarminmassa@gmail.com>)
Список pgsql-general
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@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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

В списке pgsql-general по дате отправления:

Предыдущее
От: Harald Armin Massa
Дата:
Сообщение: Re: \l of psql 8.4 looks ... unreadable on 80char default
Следующее
От: Geoffrey
Дата:
Сообщение: Re: Appending \o output instead of overwriting the output file