citus/src
Emel Şimşek fdd658acec
Fix crash caused by some form of ALTER TABLE ADD COLUMN statements. (#7522)
DESCRIPTION: Fixes a crash caused by some form of ALTER TABLE ADD COLUMN
statements. When adding multiple columns, if one of the ADD COLUMN
statements contains a FOREIGN constraint ommitting the referenced
columns in the statement, a SEGFAULT occurs.

For instance, the following statement results in a crash:

```
  ALTER TABLE lt ADD COLUMN new_col1 bool,
                          ADD COLUMN new_col2 int references rt;

```                      


Fixes #7520.
2024-03-20 11:06:05 +03:00
..
backend Fix crash caused by some form of ALTER TABLE ADD COLUMN statements. (#7522) 2024-03-20 11:06:05 +03:00
include Fix crash caused by some form of ALTER TABLE ADD COLUMN statements. (#7522) 2024-03-20 11:06:05 +03:00
test Fix crash caused by some form of ALTER TABLE ADD COLUMN statements. (#7522) 2024-03-20 11:06:05 +03:00