From df9b7149c3953c7266ec44260c871c3e75ba031b Mon Sep 17 00:00:00 2001 From: Sait Talha Nisanci Date: Thu, 19 Aug 2021 12:50:22 +0300 Subject: [PATCH] Add some normalization rules for pg14 --- src/test/regress/bin/normalize.sed | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/test/regress/bin/normalize.sed b/src/test/regress/bin/normalize.sed index a0dfb1c4a..d15107c5e 100644 --- a/src/test/regress/bin/normalize.sed +++ b/src/test/regress/bin/normalize.sed @@ -176,7 +176,7 @@ s/relation with OID [0-9]+ does not exist/relation with OID XXXX does not exist/ /^DEBUG: EventTriggerInvoke [0-9]+$/d # ignore DEBUG1 messages that Postgres generates -/^DEBUG: rehashing catalog cache id [0-9]+$/d +/^DEBUG: rehashing catalog cache id .*$/d # ignore JIT related messages /^DEBUG: probing availability of JIT.*/d @@ -229,4 +229,15 @@ s/ERROR: parallel workers for vacuum must/ERROR: parallel vacuum degree must/g # ignore PL/pgSQL line numbers that differ on Mac builds s/(CONTEXT: PL\/pgSQL function .* line )([0-9]+)/\1XX/g + +# can be removed after dropping PG13 support +s/ERROR: parallel workers for vacuum must be between/ERROR: parallel vacuum degree must be between/g +s/ERROR: fake_fetch_row_version not implemented/ERROR: fake_tuple_update not implemented/g +s/ERROR: COMMIT is not allowed in an SQL function/ERROR: COMMIT is not allowed in a SQL function/g +s/ERROR: ROLLBACK is not allowed in an SQL function/ERROR: ROLLBACK is not allowed in a SQL function/g +/.*Query Identifier.*/d +/.*Async-Capable.*/d +/.*Async Capable.*/d +/Parent Relationship/d +/Parent-Relationship/d s/function array_cat_agg\(anycompatiblearray\)/function array_cat_agg\(anyarray\)/g