Re: format of pg_upgrade loadable_libraries warning

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: format of pg_upgrade loadable_libraries warning
Дата
Msg-id 20191005001524.GB21896@momjian.us
обсуждение исходный текст
Ответ на Re: format of pg_upgrade loadable_libraries warning  (Justin Pryzby <pryzby@telsasoft.com>)
Ответы Re: format of pg_upgrade loadable_libraries warning
Список pgsql-hackers
On Fri, Oct  4, 2019 at 05:40:08PM -0500, Justin Pryzby wrote:
> 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=60e3bd1d7f92430b24b710ecf0559656eb8ed499
> > > 
> > > 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).

No, there might be tools that depend on the existing format, and this is
the first report of confusion I have read.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Transparent Data Encryption (TDE) and encrypted files
Следующее
От: vignesh C
Дата:
Сообщение: Updated some links which are not working with new links