On 2019-12-04 21:36, Tom Lane wrote:
> I wonder if the right fix is to not generate a DO_ATTRDEF
> object at all for generated columns in child tables. Am
> I right in guessing that we propagate generated-ness to
> child tables automatically?
Right. New patch using that approach attached. (Could use more
extensive comments.)
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services