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
DO !!)
As far as I tested 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 Engine