From: Adrian Klaver <adrian.klaver@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6666: pg_upgrade 9.2beta1 plpython/plpython2
Date: Mon, 28 May 2012 07:19:55 -0700
Message-ID: <4FC3898B.1040604@gmail.com> (raw)
In-Reply-To: <28633.1338150915@sss.pgh.pa.us>
References: <E1SYQcb-00027L-3s@wrigleys.postgresql.org>
<20120527022416.GA20260@momjian.us>
<4FC2773B.6050206@gmail.com>
<28633.1338150915@sss.pgh.pa.us>
On 05/27/2012 01:35 PM, Tom Lane wrote:
> Adrian Klaver<adrian.klaver@gmail.com> writes:
>> After reading the above thread here is what the queries mentioned return:
>
>> production=# SELECT nspname,proname,probin FROM pg_proc,pg_namespace
>> WHERE probin LIKE '%python%' and pg_proc.pronamespace=pg_namespace.oid;
>
>> nspname | proname | probin
>> ------------+-------------------------+------------------
>> pg_catalog | plpython_call_handler | $libdir/plpython
>> pg_catalog | plpython_inline_handler | $libdir/plpython
>> public | plpython_call_handler | $libdir/plpython
>> (3 rows)
>
> I think what you need to do is drop the one in public, ie
> drop function public.plpython_call_handler();
> The other two are what the language is actually using nowadays.
>
> Hopefully pg_upgrade will then cope with upgrading them ...
To follow up, I dropped the public function and reran pg_upgrade from
scratch and it completed successfully.
>
> regards, tom lane
--
Adrian Klaver
adrian.klaver@gmail.com
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, tgl@sss.pgh.pa.us, bruce@momjian.us
Subject: Re: BUG #6666: pg_upgrade 9.2beta1 plpython/plpython2
In-Reply-To: <4FC3898B.1040604@gmail.com>
References: <E1SYQcb-00027L-3s@wrigleys.postgresql.org> <20120527022416.GA20260@momjian.us> <4FC2773B.6050206@gmail.com> <28633.1338150915@sss.pgh.pa.us> <4FC3898B.1040604@gmail.com>
* 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