pg_upgrade don't echo windows commands

Started by Andrew Dunstanalmost 5 years ago2 messageshackers
Jump to latest
#1Andrew Dunstan
andrew@dunslane.net

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

Attachments:

pg_upgrade-no-windows-command-echo.patchtext/x-patch; charset=UTF-8; name=pg_upgrade-no-windows-command-echo.patchDownload+2-2
#2Michael Paquier
michael@paquier.xyz
In reply to: Andrew Dunstan (#1)
Re: pg_upgrade don't echo windows commands

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