From: adrian.klaver@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #6666: pg_upgrade 9.2beta1 plpython/plpython2
Date: Sat, 26 May 2012 23:42:09 +0000
Message-ID: <E1SYQcb-00027L-3s@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 6666
Logged by: Adrian Klaver
Email address: adrian.klaver@gmail.com
PostgreSQL version: 9.0.7
Operating system: Linux/OpenSuse 12.1
Description:
I thought this was fixed in:
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=cfe443ab9d42b4ffe950608f01c3a4bdc2895c...
I just tried an upgrade from 9.0.7 to 9.2beta1 using pg_upgrade. I ran it
first with -c and everything passed. When I did a live upgrade it failed
with this message in pg_upgrade_restore.log:
CREATE FUNCTION plpython_call_handler() RETURNS language_handler
LANGUAGE c
AS '$libdir/plpython', 'plpython_call_handler';
psql:pg_upgrade_dump_db.sql:13541: ERROR: could not access file
"$libdir/plpython": No such file or directory
That is indeed true, there is no plpython, there is plpython2 instead. I
created a symlink plpython --> plpython2 and the upgraded succeeded after a
re-initdb of the new cluster.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: adrian.klaver@gmail.com
Subject: Re: BUG #6666: pg_upgrade 9.2beta1 plpython/plpython2
In-Reply-To: <E1SYQcb-00027L-3s@wrigleys.postgresql.org>
References: <E1SYQcb-00027L-3s@wrigleys.postgresql.org>
* 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