Also, the comment in MergeAttributes is ... not wrong, but doesn't
really flow with the code, I think. How about a change like this?
* Same rules as above: generated-ness has to match the
- * parent, but the contents of the generation expression
- * can be different, except for virtual generated columns
- * (see CheckPartitionVirtualGeneratedExprs).
+ * parent. We don't check the expression itself here;
+ * CheckPartitionVirtualGeneratedExprs will do so.
--
Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/