Re: Add version and data directory to initdb output - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Add version and data directory to initdb output
Date
Msg-id 83B7240B-6B37-41B4-B710-53B81002508E@yesql.se
Whole thread Raw
In response to Re: Add version and data directory to initdb output  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-hackers
On 19 Apr 2022, at 15:56, David G. Johnston <david.g.johnston@gmail.com> wrote:

The motivating situation had me placing it as close to the last line as possible so my 8 line or so tmux panel would show it to me without scrolling.  The version is all I cared about, but when writing the patch the path seemed to be at least worth considering.

As for "Success", I'm confused about the --no-instructions choice to change it the way it did, but given that precedent I only felt it important to leave the word Success as the leading word on a line.  Scripts should be triggering on the exit code anyway and presently --no-instructions removes the Success acknowledgement completely anyway.

Good point, I forgot about the no-instructions option.

./daniel

pgsql-hackers by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: pg14 psql broke \d datname.nspname.relname
Next
From: Peter Eisentraut
Date:
Subject: error handling in pqRowProcessor broken