Re: Uniqueness of rule, constraint, and trigger names

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Uniqueness of rule, constraint, and trigger names
Дата
Msg-id 8491.1015280312@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Uniqueness of rule, constraint, and trigger names  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Ответы Re: Uniqueness of rule, constraint, and trigger names  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-sql
Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:
> On Mon, 4 Mar 2002, Tom Lane wrote:
>> For constraints, we'd need to change the code to be more careful to
>> generate unique names for unnamed constraints.  That doesn't seem

> Another question would be what to do with inherited constraints that
> conflict in multiple inheritance cases.  It'd probably be safe to rename
> those on the child table to be unique,

I'd just raise an error, I think, unless perhaps the constraints are
identical (for some definition of identical).  We don't allow
conflicting column definitions to be inherited, so why constraints?
        regards, tom lane


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Uniqueness of rule, constraint, and trigger names
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Uniqueness of rule, constraint, and trigger names