Re: SET CONSTRAINTS not schema-aware

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SET CONSTRAINTS not schema-aware
Дата
Msg-id 8589.1052747052@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SET CONSTRAINTS not schema-aware  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
>> Yeah.  We had that discussion at some point during the 7.3 development
>> cycle, and concluded we liked table-local naming for constraints better
>> than the SQL spec's global constraint names.

> Then why does pg_constraint store a schema OID?

I think we left it there for possible future use with assertions, which
are not tied to any particular table.
        regards, tom lane



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

Предыдущее
От: Christoph Haller
Дата:
Сообщение: Re: PostgreSQL Cookbook Site Down
Следующее
От: Lamar Owen
Дата:
Сообщение: Re: PostgreSQL Cookbook Site Down