From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Adrian Klaver <adrian.klaver@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6666: pg_upgrade 9.2beta1 plpython/plpython2
Date: Fri, 1 Jun 2012 11:48:59 -0400
Message-ID: <20120601154859.GA26503@momjian.us> (raw)
In-Reply-To: <20120601013706.GM26894@momjian.us>
References: <20120530023416.GQ20260@momjian.us>
<20120531185342.GJ26894@momjian.us>
<4FC7D675.5050005@gmail.com>
<22498.1338503044@sss.pgh.pa.us>
<20120531223030.GL26894@momjian.us>
<20120601013706.GM26894@momjian.us>
On Thu, May 31, 2012 at 09:37:06PM -0400, Bruce Momjian wrote:
> > I share Tom's caution on this, but I think we need to make sure we are
> > addressing any possible risk of an isolated pg_upgrade fix, now that we
> > understand the cause.
>
> FYI, this query will show any functions defined in the public schema
> who's names match pg_pltemplate helper functions:
>
> SELECT proname
> FROM pg_proc JOIN pg_namespace ON (pronamespace = pg_namespace.oid)
> WHERE proname IN
> (
> SELECT tmplhandler FROM pg_pltemplate
> UNION
> SELECT tmplinline FROM pg_pltemplate
> UNION
> SELECT tmplvalidator FROM pg_pltemplate
> ) AND
> nspname = 'public';
>
> This is normal in pre-8.1 but might indicate orphaned functions in PG
> 8.1+.
OK, based on the lack of excitement in doing anything more invasive, I
have applied the pg_upgrade fix to PG 9.2 for the plpython helper
function appearing in the public schema and referencing an old shared
library.
Should this be back-patched? (Problem first reported in PG 9.1 due to
the removal of a backward-compatibility symlink.) I am not sure we have
had enough problem reports to warrant it (3 reports).
(Should bug discussions stay on the bugs list? I did for this bug.)
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
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: bruce@momjian.us, tgl@sss.pgh.pa.us, adrian.klaver@gmail.com
Subject: Re: BUG #6666: pg_upgrade 9.2beta1 plpython/plpython2
In-Reply-To: <20120601154859.GA26503@momjian.us>
References: <20120530023416.GQ20260@momjian.us> <20120531185342.GJ26894@momjian.us> <4FC7D675.5050005@gmail.com> <22498.1338503044@sss.pgh.pa.us> <20120531223030.GL26894@momjian.us> <20120601013706.GM26894@momjian.us> <20120601154859.GA26503@momjian.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