Re: psql and pset without any arguments

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: psql and pset without any arguments
Дата
Msg-id CAFj8pRB6myNFhH9x=AfuBqa-dqf1WqD4h8E_nTFF4OACA1ip4A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: psql and pset without any arguments  ("Erik Rijkers" <er@xs4all.nl>)
Список pgsql-hackers
2013/6/29 Erik Rijkers <er@xs4all.nl>:
> On Sat, June 29, 2013 01:08, Gilles Darold wrote:
>>  Here is a sample output:
>>
>>         (postgres@[local]:5494) [postgres] > \pset
>>         Output format is aligned.
>>         Border style is 2.
>>         Expanded display is used automatically.
>>         Null display is "NULL".
>>         Field separator is "|".
>>         Tuples only is off.
>>         Title is unset.
>>         Table attributes unset.
>>         Line style is unicode.
>>         Pager is used for long output.
>>         Record separator is <newline>.
>>         (postgres@[local]:5494) [postgres] >
>>
>
> +1
>
> This seems handy.  Maybe it could be improved
> a bit with the keyboard shortcuts prefixed, like so:
>
> (postgres@[local]:5494) [postgres] > \pset
> \a  Output format is aligned.
> \x  Expanded display is used automatically.
> \f  Field separator is "|".
> \t  Tuples only is off.
> \C  Title is unset.
> \T  Table attributes unset.
>     Border style is 2.
>     Line style is unicode.
>     Null display is "NULL".
>     Pager is used for long output.
>     Record separator is <newline>.
>

it is less readable - and same info you can get with \?

Regards

Pavel

>
> So that it also serves a reminder on how to subsequently
> change them
>
>
> Thanks,
>
> Erik Rijkers
>
>
>
>
>
>
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers



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

Предыдущее
От: "Erik Rijkers"
Дата:
Сообщение: Re: psql and pset without any arguments
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] pg_upgrade -u