citus/src
Mehmet YILMAZ e9110de7e1
PG17 compatibility: Fix Test Failure in multi_name_lengths multi_create_table_constraints (#7726)
PG 17 Removes outer parentheses from CHECK constraints
we add them back for pg15,pg16 compatibility
e.g. change CHECK other_col >= 100 to CHECK (other_col >= 100)

Relevant PG commit:
e59fcbd712c777eb2987d7c9ad542a7e817954ec
e59fcbd712

CI link https://github.com/citusdata/citus/actions/runs/11844794788

```difft
 SELECT "Constraint", "Definition" FROM table_checks WHERE relid='public.check_example_365068'::regclass;
              Constraint              |            Definition             
 -------------------------------------+-----------------------------------
- check_example_other_col_check       | CHECK (other_col >= 100)
- check_example_other_other_col_check | CHECK (abs(other_other_col) >= 100)
+ check_example_other_col_check       | CHECK other_col >= 100
+ check_example_other_other_col_check | CHECK abs(other_other_col) >= 100
 
```

Co-authored-by: Mehmet YILMAZ <mehmet.yilmaz@microsoft.com>
2024-12-02 13:08:21 +03:00
..
backend PG17 compatibility: add COLLPROVIDER_BUILTIN option and fix tests (#7752) 2024-11-19 12:26:45 +03:00
include citus_indent fix (#7746) 2024-11-19 13:02:04 +03:00
test PG17 compatibility: Fix Test Failure in multi_name_lengths multi_create_table_constraints (#7726) 2024-12-02 13:08:21 +03:00