Re: operator exclusion constraints

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: operator exclusion constraints
Дата
Msg-id 4B061CEB.3020007@agliodbs.com
обсуждение исходный текст
Ответ на Re: operator exclusion constraints  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: operator exclusion constraints
Список pgsql-hackers
RObert,

> I guess I'm going to have to vote -1 on this proposal.  I code see
> inventing a pgsql-specific SQLSTATE value for exclusion constraints,
> since they will be a pgsql-specific extension, but reusing the unique
> key violation value seems misleading.  I admit it may help in a
> limited number of cases, but IMHO it's not worth the confusion.

I'd rather have a new one than just using "contstraint violation" which
is terribly non-specific, and generally makes the application developer
think that a value is too large.

--Josh BErkus



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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: Why do OLD and NEW have special internal names?
Следующее
От: Nikhil Sontakke
Дата:
Сообщение: Re: Syntax for partitioning