Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp> writes:
> Also, I noticed regression test failure having to do with statement
> triggers not firing, which makes sense, as there's no ModifyTable to
> invoke them.
Oh! You are right, that's a separate bug. So really we can't have
this fast-path exit at all, we should produce a ModifyTable node in
every case.
I'm too tired to work on that anymore today, do you want to run
with it?
regards, tom lane