From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@2ndquadrant.com>
Cc: Sandro Santilli <strk@keybit.net>
Cc: pgsql-bugs@postgresql.org
Cc: peter_e@gmx.net
Subject: Re: cache lookup failed from empty plpythonu function
Date: Fri, 25 Jan 2013 14:51:39 -0500
Message-ID: <1566.1359143499@sss.pgh.pa.us> (raw)
In-Reply-To: <20130125132025.GD4289@awork2.anarazel.de>
References: <20130124140336.GJ3157@gnash>
<20130124141751.GB21296@awork2.anarazel.de>
<19721.1359045633@sss.pgh.pa.us>
<20130125132025.GD4289@awork2.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Andres Freund <andres@2ndquadrant.com> writes:
> Its slightly more complex than just making it one hash table with an
> extended key. When validating a trigger function we don't have a
> relation to do the cache lookup. I chose to handle that case by not
> doing a cache lookup at all in that case which imo is a sensible
> choice.
Seems fair. However ... why is it safe for PLy_procedure_create to be
using the same name for multiple instances of a trigger function?
Should we not be including the rel OID when building the procName
string?
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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, andres@2ndquadrant.com, strk@keybit.net, peter_e@gmx.net
Subject: Re: cache lookup failed from empty plpythonu function
In-Reply-To: <1566.1359143499@sss.pgh.pa.us>
References: <20130124140336.GJ3157@gnash> <20130124141751.GB21296@awork2.anarazel.de> <19721.1359045633@sss.pgh.pa.us> <20130125132025.GD4289@awork2.anarazel.de> <1566.1359143499@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