pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Adrian Klaver <adrian.klaver@gmail.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6666: pg_upgrade 9.2beta1 plpython/plpython2
Date: Sun, 27 May 2012 16:35:15 -0400
Message-ID: <28633.1338150915@sss.pgh.pa.us> (raw)
In-Reply-To: <4FC2773B.6050206@gmail.com>
References: <E1SYQcb-00027L-3s@wrigleys.postgresql.org>
	<20120527022416.GA20260@momjian.us>
	<4FC2773B.6050206@gmail.com>

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 ...

			regards, tom lane



view thread (18+ messages)  latest in thread

Message-ID: <28633.1338150915@sss.pgh.pa.us>
Permalink:  ../28633.1338150915@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28633.1338150915@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, adrian.klaver@gmail.com, bruce@momjian.us
  Subject: Re: BUG #6666: pg_upgrade 9.2beta1 plpython/plpython2
  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>

* 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