pgsql: Fix several DDL issues of generated columns versus inheritance

2020-05-08 Thread Peter Eisentraut
Fix several DDL issues of generated columns versus inheritance Several combinations of generated columns and inheritance in CREATE TABLE were not handled correctly. Specifically: - Disallow a child column specifying a generation expression if the parent column is a generated column. The child

pgsql: Fix several DDL issues of generated columns versus inheritance

2020-05-08 Thread Peter Eisentraut
Fix several DDL issues of generated columns versus inheritance Several combinations of generated columns and inheritance in CREATE TABLE were not handled correctly. Specifically: - Disallow a child column specifying a generation expression if the parent column is a generated column. The child