Re: Maintaining blank lines in psql output?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Ron <ronljohnsonjr(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Maintaining blank lines in psql output?
Date: 2023-01-17 21:22:22
Message-ID: CAKFQuwaMLnyBzoOv0oKXpcyUhS+hk29ZVj2LAS665QRG5t06Kw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jan 17, 2023 at 1:48 PM Ron <ronljohnsonjr(at)gmail(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2023-01-17 21:26:02 Re: Use case for enabling log_duration other than benchmarking
Previous Message Ron 2023-01-17 20:48:40 Maintaining blank lines in psql output?