Re: pg_upgrade with plpython is broken

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-12-22T16:42:23Z
Lists: pgsql-hackers
On Mon, Dec 19, 2011 at 10:16 AM, Peter Eisentraut <peter_e@gmx.net> wrote:
> Upgrading an instance containing plpython from <=8.4 to >=9.0 is broken
> because the module plpython.so was renamed to plpython2.so, and so the
> pg_upgrade check for loadable libraries fails thus:
>
>    Your installation references loadable libraries that are missing from the
>    new installation.  etc.
>
> Installing a symlink fixes the issue.  Should we teach pg_upgrade about
> this renaming, or should we install the symlink as part of the standard
> installation?

I feel like this is a pg_upgrade bug, not so much a PL/python problem.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company