Re: Information Schema and constraint names not unique

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Information Schema and constraint names not unique
Дата
Msg-id 3FABC4D3.6040409@dunslane.net
обсуждение исходный текст
Ответ на Re: Information Schema and constraint names not unique  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

>Andrew Dunstan <andrew@dunslane.net> writes:
>  
>
>  
>
>>. add tableoid or tablename to information_schema.{check_constraints, 
>>referential_constraints} (I think those are the only places where it 
>>would be needed, from my quick skimming).
>>. add tableoid or tablename to autogenerated table constraint names
>>    
>>
>
>These are mutually exclusive --- I see no reason to do both.
>
>  
>

In that case I vote for option 2 - it makes the names nicer and gets us 
closer to compliance with the spec.

:-)

(Option 1 is trivially easy by comparison, though).

cheers

andrew



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Experimental ARC implementation
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: Experimental ARC implementation