Finding database for pg_upgrade missing library

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Finding database for pg_upgrade missing library
Date: 2018-07-13 16:28:15
Message-ID: 20180713162815.GA3835@momjian.us
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-hackers

I received a private pg_upgrade feature request to report the database
name for missing loadable libraries. Currently we report "could not
load library" and the library file name, e.g. $libdir/pgpool-regclass.

The request is that we report the _database_ name that contained the
loadable library reference. However, that isn't easy to do because we
gather all loadable library file names, sort them, and remove
duplicates, for reasons of efficiency and so we check libraries in a
predictable alphabetical order.

Is it worth modifying pg_upgrade to report the first or all databases
that contain references to missing loadable libraries? I don't think
so, but I wanted to ask here.

--
Bruce Momjian <bruce(at)momjian(dot)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 +

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2018-07-13 16:57:34 Re: Generating partitioning tuple conversion maps faster
Previous Message Alvaro Herrera 2018-07-13 15:31:31 Re: Fix some error handling for read() and errno