View Single Post

   
  #6 (permalink)  
Old 04-18-2008, 12:23 AM
Tom Lane
 
Posts: n/a
Default Re: skip FK trigger on UPDATE

Neil Conway <neilc@samurai.com> writes:
> Attached are two patches: one that changes ADD FOREIGN KEY to create
> separate ON INSERT and ON UPDATE triggers that invoke different trigger
> functions, and a revised version of the FK UPDATE enqueuing patch.


Looks OK to me. Don't forget that the first of these should probably
include a catversion.h bump.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

Reply With Quote