citus/src/backend
Onur Tirtir 53ec5abb75 Not drop default col exprs from shard when adding local table to metadata (#6323)
As we did for GENERATED STORED columns in #4613, we should not drop
column
default expressions that are not based on sequences from shard relation
since
such expressions need to exist e.g. for foreign key actions.

For the column default expressions that are based on sequences we cannot
do much, so we need to disallow having ON DELETE SET DEFAULT actions on
such columns in a separate PR, see #6339.

Fixes #6318.

DESCRIPTION: Fixes a bug that might cause inserting incorrect DEFAULT
values when applying foreign key actions

(cherry picked from commit de24a3eda5)
2022-09-23 13:53:04 +03:00
..
columnar Specifies that our CustomScan providers support projections (#6244) 2022-08-31 10:48:01 +03:00
distributed Not drop default col exprs from shard when adding local table to metadata (#6323) 2022-09-23 13:53:04 +03:00
.gitignore Initial commit of Citus 5.0 2016-02-11 04:05:32 +02:00