Re: Add version and data directory to initdb output

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add version and data directory to initdb output
Date: 2022-04-19 14:27:57
Message-ID: 83B7240B-6B37-41B4-B710-53B81002508E@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 19 Apr 2022, at 15:56, David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2022-04-19 14:34:36 error handling in pqRowProcessor broken
Previous Message Justin Pryzby 2022-04-19 14:27:28 Re: pg14 psql broke \d datname.nspname.relname