Re: ALTER DOMAIN ADD NOT NULL NOT VALID

2025-05-22 Thread Quan Zongliang
On 2025/5/21 18:44, jian he wrote: hi. attached patch is for $subject implementation per https://www.postgresql.org/docs/current/sql-alterdomain.html """ Although ALTER DOMAIN ADD CONSTRAINT attempts to verify that existing stored data satisfies the new constraint, this check is not bulletpr

ALTER DOMAIN ADD NOT NULL NOT VALID

2025-05-21 Thread jian he
things | integer | | not null not valid | | CHECK (VALUE < 11) From bdea7a60eab6e46d7f0b59b9a5602d6a2421f60d Mon Sep 17 00:00:00 2001 From: jian he Date: Wed, 21 May 2025 18:43:17 +0800 Subject: [PATCH v1 1/1] ALTER DOMAIN ADD NOT NULL NOT VALID we have NOT NULL NO VALID for table c