citus/src/include
Emel Şimşek f2d102d54b 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.

(cherry picked from commit fdd658acec)
2024-04-17 10:26:50 +02:00
..
columnar Actually sort includes after cherry-pick 2024-04-17 10:26:50 +02:00
distributed Fix crash caused by some form of ALTER TABLE ADD COLUMN statements. (#7522) 2024-04-17 10:26:50 +02:00
.gitignore Self-implemented review feedback 2017-04-03 22:55:12 -06:00
citus_config.h.in Renames configure.in to fix warnings (#6034) 2022-07-19 18:24:15 +02:00
citus_version.h.in HAVE_LZ4 -> HAVE_CITUS_LZ4 (#5541) 2021-12-16 16:21:52 +03:00
pg_version_compat.h move pg_version_constants.h to toplevel include (#7335) 2024-04-17 10:26:50 +02:00
pg_version_constants.h move pg_version_constants.h to toplevel include (#7335) 2024-04-17 10:26:50 +02:00