View Single Post

   
  #3 (permalink)  
Old 04-18-2008, 10:42 AM
Jan Wieck
 
Posts: n/a
Default Re: As proposed the complete changes to pg_trigger andpg_rewrite

On 3/15/2007 11:16 PM, Tom Lane wrote:
> Jan Wieck <JanWieck@Yahoo.com> writes:
>> Attached is the completed patch that changes pg_trigger and extends
>> pg_rewrite in order to allow triggers and rules to be defined with
>> different, per session controllable, behaviors for replication purposes.

>
> The SPI_savedplans part of this is pretty bletcherous, and has been
> overtaken by events anyway. I'd suggest testing whether plancache.c
> has anything in its list.


Hehe,

after today's commit by you it also throws a cvs merge conflict exactly
there ...

After a quick look it seems that another little function in there,
checking if (cached_plans_list == NIL), would do exactly that.

Easy enough to adjust to that.


Jan

--
#================================================= =====================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================= = JanWieck@Yahoo.com #

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Reply With Quote