pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Magnus Hagander <magnus@hagander.net>
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, 3 Feb 2021 16:21:17 +0100
Message-ID: <455845d1-441d-cc40-d2a7-b47f4e422489@2ndquadrant.com> (raw)
In-Reply-To: <CABUevEzeGRWYh3N9UEa_tEBKF4E0sd0TVBj0TVtfvvPWFT1FBQ@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>
	<798ee419-d9fc-075a-932c-2c16420eb39c@2ndquadrant.com>
	<CABUevEzeGRWYh3N9UEa_tEBKF4E0sd0TVBj0TVtfvvPWFT1FBQ@mail.gmail.com>

On 2021-01-17 14:38, Magnus Hagander wrote:
> On Thu, Jan 7, 2021 at 11:53 AM Peter Eisentraut
> <peter.eisentraut@2ndquadrant.com> wrote:
>>
>> After pondering this again, I think we can go with initdb
>> --no-instructions, as in your patch.
>>
>> As a minor nitpick, I would leave out the
>>
>>       else
>>           printf(_("\nSuccess.\n"));
>>
>> in the --no-instructions case.
> 
> OK, thanks. I have applied it as such, with that message moved inside
> the if statement.

It appears that there is an extra blank line in the initdb output before 
"Success" now.

-- 
Peter Eisentraut
2ndQuadrant, an EDB company
https://www.2ndquadrant.com/





view thread (43+ messages)  latest in thread

Message-ID: <455845d1-441d-cc40-d2a7-b47f4e422489@2ndquadrant.com>
Permalink:  ../455845d1-441d-cc40-d2a7-b47f4e422489@2ndquadrant.com/
Also on:    postgresql.org/message-id/455845d1-441d-cc40-d2a7-b47f4e422489@2ndquadrant.com

 · 

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: peter.eisentraut@2ndquadrant.com, magnus@hagander.net, bruce@momjian.us
  Subject: Re: Prevent printing "next step instructions" in initdb and pg_upgrade
  In-Reply-To: <455845d1-441d-cc40-d2a7-b47f4e422489@2ndquadrant.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> <798ee419-d9fc-075a-932c-2c16420eb39c@2ndquadrant.com> <CABUevEzeGRWYh3N9UEa_tEBKF4E0sd0TVBj0TVtfvvPWFT1FBQ@mail.gmail.com> <455845d1-441d-cc40-d2a7-b47f4e422489@2ndquadrant.com>

* 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