Jan Wieck <JanWieck(at)Yahoo(dot)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.
regards, tom lane