citus/src
Onur Tirtir de24a3eda5
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
2022-09-23 03:05:08 -07:00
..
backend Not drop default col exprs from shard when adding local table to metadata (#6323) 2022-09-23 03:05:08 -07:00
bin/pg_send_cancellation Make enterprise features open source (#6008) 2022-06-16 00:23:46 -07:00
include Not drop default col exprs from shard when adding local table to metadata (#6323) 2022-09-23 03:05:08 -07:00
test Not drop default col exprs from shard when adding local table to metadata (#6323) 2022-09-23 03:05:08 -07:00