pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-hackers@lists.postgresql.org, Daniel Gustafsson <daniel@yesql.se>
Subject: Re: format of pg_upgrade loadable_libraries warning
Date: Fri, 4 Oct 2019 17:40:08 -0500
Message-ID: <20191004224008.GQ11241@telsasoft.com> (raw)
In-Reply-To: <20191004213746.GD29227@momjian.us>
References: <20191002172337.GC9680@telsasoft.com>
	<20191004213746.GD29227@momjian.us>

On Fri, Oct 04, 2019 at 05:37:46PM -0400, Bruce Momjian wrote:
> On Wed, Oct  2, 2019 at 12:23:37PM -0500, Justin Pryzby wrote:
> > Regarding the previous thread and commit here:
> > https://www.postgresql.org/message-id/flat/20180713162815.GA3835%40momjian.us
> > https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=60e3bd1d7f92430b24b710ecf0559656e...
> > 
> > I'm suggesting to reformat the warning, which I found to be misleading:
> 
> Understood.  This is a general problem with the way pg_upgrade displays
> errors and the databases/objects associated with them.  The attached
> patch fixes the output text to say "in database", e.g.:
> 
>   Could not load library "$libdir/pgfincore": ERROR:  could not access file "$libdir/pgfincore": No such file or directory
>   in database: postgres
>   in database: too
> 
> Would intenting help too?  I am inclined to fix this only head, and not
> to backpatch the change.

Yes, indenting would also help.

I would argue to include in 12.1, since 12 is what most everyone will use for
upgrades, and patch for .1 will help people upgrading for 11 of the next 12
months.  (But, your patch is more general than mine).

Thanks,
Justin





view thread (16+ messages)  latest in thread

Message-ID: <20191004224008.GQ11241@telsasoft.com>
Permalink:  ../20191004224008.GQ11241@telsasoft.com/
Also on:    postgresql.org/message-id/20191004224008.GQ11241@telsasoft.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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: pryzby@telsasoft.com, bruce@momjian.us, daniel@yesql.se
  Subject: Re: format of pg_upgrade loadable_libraries warning
  In-Reply-To: <20191004224008.GQ11241@telsasoft.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