public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: Daniel Gustafsson <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Subject: Re: Giving more detail in pg_upgrade errormessage
Date: Tue, 18 Jul 2023 12:04:20 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
Daniel Gustafsson <[email protected]> writes:
> Looking at the upgrade question in [0] made me realize that we discard
> potentially useful information for troubleshooting. When we check if the
> cluster is properly shut down we might as well include the status from
> pg_controldata in the errormessage as per the trivial (but yet untested)
> proposed diff.
> Is there a reason not to be verbose here as users might copy/paste this output
> when asking for help?
Agreed, but I think you need to chomp the string's trailing newline,
or it'll look ugly. You might as well do that further up and remove
the newlines from the comparison strings, too.
regards, tom lane
view thread (2+ messages)
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Giving more detail in pg_upgrade errormessage
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox