Re: refactor AlterDomainAddConstraint (alter domain add constraint)

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: jian he <jian(dot)universality(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: refactor AlterDomainAddConstraint (alter domain add constraint)
Date: 2025-01-14 16:37:14
Message-ID: 202501141637.i6cjvhwnorqn@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Yugo NAGATA 2025-01-14 16:40:46 Re: Allow ILIKE forward matching to use btree index
Previous Message Fujii Masao 2025-01-14 16:34:49 Re: ecpg command does not warn COPY ... FROM STDIN;