Re: Prevent printing "next step instructions" in initdb and pg_upgrade

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: Bruce Momjian <bruce@momjian.us>, Peter Eisentraut <peter.eisentraut@2ndquadrant.com>, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2021-02-08T17:56:01Z
Lists: pgsql-hackers
I wrote:
> Bruce Momjian <bruce@momjian.us> writes:
>> On Sun, Feb  7, 2021 at 11:21:05AM +0100, Magnus Hagander wrote:
>>> Isn't the whole "Success." at the end redundant here, and we should
>>> just end the message after the pg_ctl command? So not just the extra
>>> newline, but the whole thing?

>> Agreed.

> +1

In fact, I just noticed that none of our back branches print that
extra "Success." either.  So that's a bug, is what it is.

			regards, tom lane



Commits

  1. Remove extra Success message at the end of initdb