Normalize CREATE DOMAIN pseudotype error message in test outputs

m3hm3t/pg18_normalize-sed-domain-base-type-error
Mehmet Yilmaz 2025-06-30 07:23:24 +00:00
parent 433e22e995
commit 68cd4c117f
1 changed files with 3 additions and 0 deletions

View File

@ -325,3 +325,6 @@ s/\| CHECK ([a-zA-Z])(.*)/| CHECK \(\1\2\)/g
# supported Postgres version. # supported Postgres version.
/DEBUG: drop auto-cascades to type [a-zA-Z_]*.pg_temp_[0-9]*/d /DEBUG: drop auto-cascades to type [a-zA-Z_]*.pg_temp_[0-9]*/d
# normalize CREATE DOMAIN pseudotype error: drop pg_catalog. only in this exact message
s#^ERROR: "pg_catalog\.([A-Za-z_][A-Za-z0-9_]*)" is not a valid base type for a domain$#ERROR: "\1" is not a valid base type for a domain#g