Re: Tests for psql \g and \o - Mailing list pgsql-hackers

From Justin Pryzby
Subject Re: Tests for psql \g and \o
Date
Msg-id 20221130183359.GL24131@telsasoft.com
Whole thread Raw
In response to Re: Tests for psql \g and \o  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Tests for psql \g and \o
List pgsql-hackers
On Wed, Nov 30, 2022 at 02:50:16PM +0900, Michael Paquier wrote:
> On Wed, Nov 23, 2022 at 09:18:57PM +0100, Daniel Verite wrote:
> > PFA a new patch addressing these issues.
> 
> Thanks, the tests part of the main regression test suite look good to
> me, so I have applied them after fixing a few typos and tweaking the
> style of the test.  Regarding the tests with pipes, I had cold feet
> with the dependencies on cat for non-WIN32 or findstr for WIN32.

I think you could do that with a perl 0-liner.

$ echo foo |perl -pe ''
foo

-- 
Justin



pgsql-hackers by date:

Previous
From: "Daniel Verite"
Date:
Subject: Re: Tests for psql \g and \o
Next
From: Sayyid Ali Sajjad Rizavi
Date:
Subject: Allow round() function to accept float and double precision