jian he <jian(dot)universality(at)gmail(dot)com> writes:
> Thanks for simplifying the tests, overall all looks good.
OK, pushed and back-patched, but only to v14. I tried to make
a variant that'd work in v13, but it caused ExecCheckPlanOutput
to throw "Query provides a value for a generated column" errors
for UPDATEs. That's surely related to the major refactoring of
UPDATE targetlists that we did in v14. Given that we've had
zero field complaints about this problem so far, I think the
risk of breaking something in v13 exceeds the value of fixing
the bug, so I left v13 alone.
regards, tom lane