Re: psql - pager support - using invisible chars for signalling end of report

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql - pager support - using invisible chars for signalling end of report
Date: 2023-09-12 07:55:53
Message-ID: ca0fe7ae-5747-167b-e0f1-c72dd816aa6b@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 06.09.23 05:07, Thomas Munro wrote:
> This sounds better than the QUERY_SEPARATOR hack from commit
> 664d757531e, and similar kludges elsewhere. I think Pavel and David
> are right about NUL being impossible in psql query output, no?

Note:

-z, --field-separator-zero
set field separator for unaligned output to
zero byte
-0, --record-separator-zero
set record separator for unaligned output to
zero byte

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2023-09-12 08:00:48 Re: Create shorthand for including all extra tests
Previous Message Peter Eisentraut 2023-09-12 07:52:50 Re: remaining sql/json patches