Re: Uniqueness of rule, constraint, and trigger names

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Uniqueness of rule, constraint, and trigger names
Дата
Msg-id 7683.1015274872@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Uniqueness of rule, constraint, and trigger names  ("Dan Langille" <dan@langille.org>)
Ответы Re: Uniqueness of rule, constraint, and trigger names  ("Dan Langille" <dan@langille.org>)
Список pgsql-sql
"Dan Langille" <dan@langille.org> writes:
> It would be easily detected at load time.  Then you direct the user to the 
> tool mentioned above.

But if the user has already dumped and flushed his old installation,
he's still in need of a time machine.

Hmm, maybe what we need is a tool that can be applied during load.
Essentially, alter incoming constraint names as needed to make them
unique.  We could have this enabled by a SET switch...
        regards, tom lane


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

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