Re: Add version and data directory to initdb output

From: Michael Banck <michael(dot)banck(at)credativ(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Daniel Gustafsson <daniel(at)yesql(dot)se>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add version and data directory to initdb output
Date: 2022-04-21 14:24:43
Message-ID: 6261692c.1c69fb81.d90fd.988c@mx.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Thu, Apr 21, 2022 at 10:18:56AM -0400, Tom Lane wrote:
> And as for the version, if you want that you can get it from "initdb
> --version".

I assumed the point in stamping the version in the output was that
people might want to pipe it to some logfile and then later on, when
they found some issues, be able to go back and know what version was
used when initializing this data directory.

Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David G. Johnston 2022-04-21 14:39:17 Re: Add version and data directory to initdb output
Previous Message Tom Lane 2022-04-21 14:18:56 Re: Add version and data directory to initdb output