diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/fast_default.out /tmp/cirrus-ci-build/src/test/recovery/tmp_check/results/fast_default.out --- /tmp/cirrus-ci-build/src/test/regress/expected/fast_default.out 2025-04-04 04:59:54.504357044 +0000 +++ /tmp/cirrus-ci-build/src/test/recovery/tmp_check/results/fast_default.out 2025-04-04 05:10:35.003398171 +0000 @@ -373,6 +373,7 @@ --table rewrite. we are applying domain volatile default expresion ALTER TABLE t3 ADD COLUMN f domain8; NOTICE: rewriting table t3 for reason 2 +ERROR: value for domain domain8 violates check constraint "domain8_check" SELECT attnum, attname, atthasmissing, atthasdef, attmissingval FROM pg_attribute WHERE attnum > 0 AND attrelid = 't3'::regclass and not attisdropped @@ -380,20 +381,16 @@ attnum | attname | atthasmissing | atthasdef | attmissingval --------+---------+---------------+-----------+--------------- 1 | a | f | f | - 2 | b | f | t | - 3 | c | f | t | - 4 | d | f | t | - 5 | e | f | t | - 6 | f | f | f | -(6 rows) + 2 | b | t | t | {12} + 3 | c | t | t | {13} + 4 | d | t | t | {14} + 5 | e | t | t | {15} +(5 rows) SELECT a,b,c,d,e,f > 10 as f_ok FROM t3 ORDER BY a; - a | b | c | d | e | f_ok ----+----+----+----+----+------ - 1 | 12 | 13 | 14 | 15 | t - 2 | 12 | 13 | 14 | 15 | t -(2 rows) - +ERROR: column "f" does not exist +LINE 1: SELECT a,b,c,d,e,f > 10 as f_ok FROM t3 ORDER BY a; + ^ ------test table rewrite for volatile domain constraints. CREATE DOMAIN domain9 as int check((value + random(min=>11::int, max=>11)) > 12); --volatile CREATE DOMAIN domain10 as int check((value + random(min=>11::int, max=>11)) > 12) default 1; --volatile