Re: refactor AlterDomainAddConstraint (alter domain add constraint)
Alvaro Herrera <alvherre@alvh.no-ip.org>
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: jian he <jian.universality@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2025-01-14T16:37:14Z
Lists: pgsql-hackers
Hello, On 2024-Dec-09, jian he wrote: > ALTER DOMAIN ADD CONSTRAINT syntax more simple than CREATE DOMAIN. Your proposed patch makes the code simpler, yes, but I think it also makes the error messages worse. I don't think that's an improvement from the user point of view. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "Ninguna manada de bestias tiene una voz tan horrible como la humana" (Orual)
Commits
-
Fix bogus grammar for a CREATE CONSTRAINT TRIGGER error
- 87251e114967 19 (unreleased) cited
-
Remove dead code
- 7407b2d48cf3 18.0 landed