Re: Maintaining blank lines in psql output?

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Maintaining blank lines in psql output?
Дата
Msg-id CAKFQuwaMLnyBzoOv0oKXpcyUhS+hk29ZVj2LAS665QRG5t06Kw@mail.gmail.com
обсуждение исходный текст
Ответ на Maintaining blank lines in psql output?  (Ron <ronljohnsonjr@gmail.com>)
Ответы Re: Maintaining blank lines in psql output?  (raf <raf@raf.org>)
Re: Maintaining blank lines in psql output?  (Ron <ronljohnsonjr@gmail.com>)
Список pgsql-general
On Tue, Jan 17, 2023 at 1:48 PM Ron <ronljohnsonjr@gmail.com> wrote:

White space can of course make things easy to read, but psql seems to ignore
those blank lines.  Is there any way to retain them in psql output?


Nope, there is no setting for psql to print all blank lines it encounters to stdout.  If you want to format your output with stuff other than query results it provides \echo

David J.

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

Предыдущее
От: Ron
Дата:
Сообщение: Maintaining blank lines in psql output?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Use case for enabling log_duration other than benchmarking