Re: Maintaining blank lines in psql output?

2023-01-17 Thread Ron
On 1/17/23 15:22, David G. Johnston wrote: On Tue, Jan 17, 2023 at 1:48 PM Ron 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

Re: Maintaining blank lines in psql output?

2023-01-17 Thread raf
On Tue, Jan 17, 2023 at 04:10:50PM -0700, "David G. Johnston" wrote: > On Tue, Jan 17, 2023 at 4:07 PM raf wrote: > > > On Tue, Jan 17, 2023 at 02:22:22PM -0700, "David G. Johnston" < > > david.g.johns...@gmail.com> wrote: > > > > > On Tue, Jan 17, 2023 at 1:48 PM Ron wrote: > > > > > > > >

Re: Maintaining blank lines in psql output?

2023-01-17 Thread David G. Johnston
On Tue, Jan 17, 2023 at 4:07 PM raf wrote: > On Tue, Jan 17, 2023 at 02:22:22PM -0700, "David G. Johnston" < > david.g.johns...@gmail.com> wrote: > > > On Tue, Jan 17, 2023 at 1:48 PM Ron wrote: > > > > > > > > White space can of course make things easy to read, but psql seems to > > > ignore >

Re: Maintaining blank lines in psql output?

2023-01-17 Thread raf
On Tue, Jan 17, 2023 at 02:22:22PM -0700, "David G. Johnston" wrote: > On Tue, Jan 17, 2023 at 1:48 PM Ron 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,

Re: Maintaining blank lines in psql output?

2023-01-17 Thread David G. Johnston
On Tue, Jan 17, 2023 at 1:48 PM Ron 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

Maintaining blank lines in psql output?

2023-01-17 Thread Ron
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? $ cat spaces.sql insert into foo values(1); insert into foo values(2); insert into foo values(3); insert into foo values(4); insert into bar