Re: Uniqueness of rule, constraint, and trigger names

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Uniqueness of rule, constraint, and trigger names
Дата
Msg-id Pine.LNX.4.30.0203102031360.684-100000@peter.localdomain
обсуждение исходный текст
Ответ на Uniqueness of rule, constraint, and trigger names  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane writes:

> The SQL spec is not a great deal of help on this, since it doesn't
> have rules or triggers at all.

The SQL spec has triggers, and their names are supposed to be
globally unique.

> For constraints, it requires database-wide uniqueness of constraint
> names --- a rule I doubt anyone is going to favor adopting for
> Postgres.

This should probably be schema-wide, which poses much less of a problem.

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: numeric/decimal docs bug?
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Reverting SET SESSION AUTHORIZATION command