Thread: pg_upgrade don't echo windows commands

pg_upgrade don't echo windows commands

From
Andrew Dunstan
Date:
Here's a completely trivial command to turn of echoing of a couple of
Windows commands pg_upgrade writes to cleanup scripts. This makes them
behave more like the Unix equivalents.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com


Attachment

Re: pg_upgrade don't echo windows commands

From
Michael Paquier
Date:
On Fri, Jun 04, 2021 at 12:10:47PM -0400, Andrew Dunstan wrote:
> Here's a completely trivial command to turn of echoing of a couple of
> Windows commands pg_upgrade writes to cleanup scripts. This makes them
> behave more like the Unix equivalents.

Why not.  Perhaps you should add a comment to mention that appending @
to those commands disables echo.  That's not obvious for the reader.
--
Michael

Attachment