pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Prevent printing "next step instructions" in initdb and pg_upgrade
Date: Wed, 25 Nov 2020 10:33:09 -0500
Message-ID: <440377.1606318389@sss.pgh.pa.us> (raw)
In-Reply-To: <CABUevEyx1frGwpnf5ixciwQt_D6DN-Bh+ERaEeg5O9MpVVBHKA@mail.gmail.com>
References: <CABUevEzo4t5bmTXF0_B9WzmuWpVbMpkNZZiGvzV8NZa-=fPqeQ@mail.gmail.com>
	<df2b2919-6e85-41ca-6570-3ae8ff86d889@2ndquadrant.com>
	<20201027105308.GI4951@momjian.us>
	<d8d691e9-b4cb-b063-a9f1-af8d3d62cac8@2ndquadrant.com>
	<20201027114000.GL4951@momjian.us>
	<CABUevEx+WfayfmA3+vd+u=Ox3o=AtHQSiC7f-86cyeLzVV8ceA@mail.gmail.com>
	<CABUevExaHs3UOJ_=yh=w5aZ8Bhd8drXgUUpDAoo_9Q4qgF2hmA@mail.gmail.com>
	<898279ea-7b33-02a3-5357-6dc03bdef0ff@2ndquadrant.com>
	<CABUevEy_mZN1nD85kRfOgQRWiPu5=UzETq3Pa2XE4fmku-8gcw@mail.gmail.com>
	<71813699-2992-fbde-1787-27f216f1ef35@2ndquadrant.com>
	<CABUevEyx1frGwpnf5ixciwQt_D6DN-Bh+ERaEeg5O9MpVVBHKA@mail.gmail.com>

Magnus Hagander <magnus@hagander.net> writes:
> I guess one option could be to just remove it, unconditionally. And
> assume that any users who is running it manually read that in docs
> somewhere that tells them what to do next, and that any user who's
> running it under a wrapper will have the wrapper set it up?

I could get behind that, personally.  (1) I think most end-users don't
run initdb by hand anymore.  (2) The message is barely useful; what
it mostly does is to distract your attention from the slightly
more useful info printed ahead of it.

>> would be, though.  Maybe we need to add some kind of text adventure game
>> into initdb.

> I do like this idea though...

+1

			regards, tom lane





view thread (43+ messages)  latest in thread

Message-ID: <440377.1606318389@sss.pgh.pa.us>
Permalink:  ../440377.1606318389@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/440377.1606318389@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, magnus@hagander.net, peter.eisentraut@2ndquadrant.com, bruce@momjian.us
  Subject: Re: Prevent printing "next step instructions" in initdb and pg_upgrade
  In-Reply-To: <440377.1606318389@sss.pgh.pa.us>
  References: <CABUevEzo4t5bmTXF0_B9WzmuWpVbMpkNZZiGvzV8NZa-=fPqeQ@mail.gmail.com> <df2b2919-6e85-41ca-6570-3ae8ff86d889@2ndquadrant.com> <20201027105308.GI4951@momjian.us> <d8d691e9-b4cb-b063-a9f1-af8d3d62cac8@2ndquadrant.com> <20201027114000.GL4951@momjian.us> <CABUevEx+WfayfmA3+vd+u=Ox3o=AtHQSiC7f-86cyeLzVV8ceA@mail.gmail.com> <CABUevExaHs3UOJ_=yh=w5aZ8Bhd8drXgUUpDAoo_9Q4qgF2hmA@mail.gmail.com> <898279ea-7b33-02a3-5357-6dc03bdef0ff@2ndquadrant.com> <CABUevEy_mZN1nD85kRfOgQRWiPu5=UzETq3Pa2XE4fmku-8gcw@mail.gmail.com> <71813699-2992-fbde-1787-27f216f1ef35@2ndquadrant.com> <CABUevEyx1frGwpnf5ixciwQt_D6DN-Bh+ERaEeg5O9MpVVBHKA@mail.gmail.com> <440377.1606318389@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox