Re: bogus error message for ALTER TABLE ALTER CONSTRAINT

Поиск
Список
Период
Сортировка
От Álvaro Herrera
Тема Re: bogus error message for ALTER TABLE ALTER CONSTRAINT
Дата
Msg-id 202503111446.3ht6hlgszavl@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: bogus error message for ALTER TABLE ALTER CONSTRAINT  (jian he <jian.universality@gmail.com>)
Список pgsql-hackers
On 2025-Mar-11, jian he wrote:

> but it's better to align CREATE DOMAIN with ALTER DOMAIN.
> For example, the following two logic should behave the same.
> 
> create domain d_int as int4 constraint nn1 not null initially immediate;
> alter domain d_int add constraint nn1 not null initially immediate;

Sure, they should.

> Also if we do not error out, then in the create_domain.sgml, alter_domain.sgml
> <synopsis> section we should include these "useless" keywords.

Yeah, I guess we should do that.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/



В списке pgsql-hackers по дате отправления: