On Thu, 1 Sept 2022 at 20:57, Alvaro Herrera <alvhe...@alvh.no-ip.org> wrote: > So apparently the way to get a trigger associated with a relation > (tgconstrrelid) is via CREATE CONSTRAINT TRIGGER, but there doesn't > appear to be a way to have it associated with a specific *index* on that > relation (tgconstrindid). So you're right that it appears to be dead > code. > > If the regression tests don't break by removing it, I agree with doing > that.
Thanks for having a look here. Yeah, it was a while ago. I've pushed a patch to remove the dead code from master. I don't quite see the sense in removing it in the back branches. David