Re: Tests for psql \g and \o

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Daniel Verite <daniel(at)manitou-mail(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Tests for psql \g and \o
Date: 2022-11-30 18:33:59
Message-ID: 20221130183359.GL24131@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sayyid Ali Sajjad Rizavi 2022-11-30 18:38:46 Allow round() function to accept float and double precision
Previous Message Daniel Verite 2022-11-30 18:22:42 Re: Tests for psql \g and \o