Re: Attempt to fix inheritance limitations: unique and foreign key constraints

2018-06-15 Thread Raphael Medaer
Hi Robert, Sounds very similar to commit 3de241dba86f3dd000434f70aebba725fb928032. I'm reusing part of the code from this commit (mainly "CloneForeignKeyConstraints").. But this commit concerns only partitioned tables.. not inherited tables. Kind regards, -- Raphael Meda

Attempt to fix inheritance limitations: unique and foreign key constraints

2018-06-12 Thread Raphael Medaer
d it works pretty well; the internal triggers are installed on CREATE TABLE .. INHERIT and even after ALTER TABLE .. INHERIT. If you have few minutes to challenge this hack and give your advices, be my guest ! Kind regards, -- Raphael Medaer Product Development Engineer Escaux Escaux, Com