Re: v7.2 triggers and foreign keys

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: v7.2 triggers and foreign keys
Дата
Msg-id 40ADB9B8.3000600@archonet.com
обсуждение исходный текст
Ответ на v7.2 triggers and foreign keys  ("Paul Gimpelj" <pgimpelj@sympatico.ca>)
Список pgsql-sql
Paul Gimpelj wrote:
> Hi,
> 
> I have two tables a and b.; b references a.
> I used pgaccess to create tables.
> and psql to create the triggers and foreign keys. a has sequential id, and primary key same column.
> 
> As constraints they were implicit, and cascade was off.
> 
> On delete of the of a b row, postgres also deleted the a table row.

You'll need to show the table definitions (with foreign keys etc) and 
also trigger definitions (use "\d table_a" in psql or "pg_dump 
--schema-only -t tablename")


--   Richard Huxton  Archonet Ltd


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: OR clause causing strange index performance
Следующее
От: Jeff Post
Дата:
Сообщение: Preventing Deletions with triggers