From 61ac31fbcca310705aafb0e3da1d9a59f4ecadc4 Mon Sep 17 00:00:00 2001 From: Mehmet YILMAZ Date: Wed, 6 Nov 2024 11:59:53 +0000 Subject: [PATCH] multi_name_lengths remove citus-tools normalization added normlize update update update update update . update . revert some files update update update update --- src/test/regress/bin/normalize.sed | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/regress/bin/normalize.sed b/src/test/regress/bin/normalize.sed index 1cbd0b404..19ac512c5 100644 --- a/src/test/regress/bin/normalize.sed +++ b/src/test/regress/bin/normalize.sed @@ -319,3 +319,8 @@ s/COPY DEFAULT only available using COPY FROM/COPY DEFAULT cannot be used with C s/COPY delimiter must not appear in the DEFAULT specification/COPY delimiter character must not appear in the DEFAULT specification/ #endif /* PG_VERSION_NUM < PG_VERSION_17 */ + +# 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) +s/\| CHECK ([a-zA-Z])(.*)/| CHECK \(\1\2\)/g