Re: why it doesn't work? referential integrity

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: why it doesn't work? referential integrity
Дата
Msg-id 878x8i2q7q.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на why it doesn't work? referential integrity  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Ответы Re: why it doesn't work? referential integrity
Список pgsql-general
"Pavel Stehule" <pavel.stehule@gmail.com> writes:

>   checked_by INT REFERENCES users (id) ON UPDATE CASCADE ON DELETE SET NULL,

> CONTEXT:  SQL statement "UPDATE ONLY "public"."tasks" SET "worker" =
> NULL WHERE $1 OPERATOR(pg_catalog.=) "worker""

This says you mistyped the constraint above to refer to tasks(worker) instead
of users(id). Did you?

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com


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

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: why it doesn't work? referential integrity
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: why it doesn't work? referential integrity