Kohei KaiGai <kaigai@kaigai.gr.jp> writes:
> It seems to me TargetEntry of the parse tree can inform us which column
> should be modified on UPDATE or INSERT. If it has just a Var element
> that reference original table as-is, it means here is no change.
Only if you're not going to support BEFORE triggers modifying the row...
regards, tom lane