On Mon, Jun 26, 2017 at 6:44 PM, Alexander Korotkov <aekorotkov@gmail.com> wrote:
Have you met any particular problem here? Or is it just a lot of mechanical work?
Just A LOT of mechanictal work, thankfully. The patch is now rebased and all regress tests have passed (even the element_foreign_key). Please find the patch below !
I don't think it is bug.
That's good news !
What I plan to do next
study ri_triggers.c (src/backend/utils/adt/ri_triggers.c) since this is where the new RI code will reside