Re: Missing loadable libraries when running pg_upgrade 9.1 -> 9.2

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Thomas Kellerer <spam_eater(at)gmx(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Missing loadable libraries when running pg_upgrade 9.1 -> 9.2
Date: 2012-09-12 18:11:43
Message-ID: 20120912181143.GA1850@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, Sep 12, 2012 at 12:03:21PM +0200, Thomas Kellerer wrote:
> Thomas Kellerer wrote on 12.09.2012 11:09:
> >Is there a way to find out which function (or extension?) is using those libraries in order to remove that dependency?
>
> What I ended up doing is to search through my pg_dump backups and I found the "offending" database.
> After removing the functions in question, everything went smoothly.
>
> Is there a better way to find those functions rather than doing a grep on the dump files?

Well, pg_upgrade uses SQL queries to find those entries, so you could
turn on logging and look at the SQL queries that look in the pg_proc
table for such entries.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Radovan Jablonovsky 2012-09-12 22:44:14 what is maximum allowed value of autovacuum_freeze_max_age
Previous Message Kevin Grittner 2012-09-12 14:25:55 Re: pg_restore problem "Found unexpected Block id"