Re: Information Schema and constraint names not unique

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Information Schema and constraint names not unique
Дата
Msg-id 20350.1068136933@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Information Schema and constraint names not unique  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Information Schema and constraint names not unique
Re: Information Schema and constraint names not unique
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> I don't think we really need a method to guarantee unique names.  It would
> already help a lot if we just added the table name, or something that was
> until a short time before the action believed to be the table name, or
> even only the table OID, before (or after) the $1.

I don't have a problem with switching from "$1" to "tablename_$1", or
some such, for auto-generated constraint names.  But if it's not
guaranteed unique, does it really satisfy Philip's concern?
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Information Schema and constraint names not unique
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Changes to Contributor List