PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> I found that the generated columns are sometimes not updated.
Yeah. Looking into nodeModifyTable.c, we miss re-doing
ExecComputeStoredGenerated when looping back after an EPQ update
(which is what this case is). I see that we also fail to redo that
after a cross-partition move, which is a bug since 8bf6ec3ba.
The attached seems to be enough to fix it, but I want to also devise
an isolation test for these cases ...
regards, tom lane