Re: RI_ConstraintTrigger question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: RI_ConstraintTrigger question
Дата
Msg-id 9771.1127849231@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: RI_ConstraintTrigger question  (Jan Wieck <JanWieck@Yahoo.com>)
Ответы Re: RI_ConstraintTrigger question  (Jan Wieck <JanWieck@Yahoo.com>)
Re: RI_ConstraintTrigger question  ("pobox@verysmall.org" <pobox@verysmall.org>)
Список pgsql-general
Jan Wieck <JanWieck@Yahoo.com> writes:
> On 9/27/2005 12:20 AM, George Essig wrote:
>>> We have a database with about 30 tables and some RI. The RI constraints,
>>> however, were not named upon creation of the database 2-3 years ago and
>>> now when we get an error it contains <unnamed> for the constraint.

> What you could do is to dump the database, edit the dump and restore it.

Why not just drop and re-add the FK constraints?

            regards, tom lane

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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: RI_ConstraintTrigger question
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: RI_ConstraintTrigger question