Re: error creating table that worked under 7.0.3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: error creating table that worked under 7.0.3
Дата
Msg-id 4141.987177598@sss.pgh.pa.us
обсуждение исходный текст
Ответ на error creating table that worked under 7.0.3  ("Kyle F. Downey" <kdowney@amberarcher.com>)
Список pgsql-bugs
"Kyle F. Downey" <kdowney@amberarcher.com> writes:
> In 7.1rc2, this same DDL results in this error:

> ERROR:  UNIQUE constraint matching given keys for referenced table
> "incidents" not found

7.1 enforces the requirement that the referenced column be marked UNIQUE
(or PRIMARY KEY, which implies UNIQUE).  Seems to work if you add that.

            regards, tom lane

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

Предыдущее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: bug in 7.0.3 related to triggers and field rename
Следующее
От: Tom Lane
Дата:
Сообщение: Re: runtest bug and bigcheck problems