Foreign Key

Поиск
Список
Период
Сортировка
От Anand Surelia
Тема Foreign Key
Дата
Msg-id 36027D03.87C27250@bytekinc.com
обсуждение исходный текст
Список pgsql-general
Hi,
I am using the triggers provided under contrib/spi/refint.* to implement
referential integrity in my database.
The check_primary_key function doesn't allow me to enter in a child
table if a corresponding primary key doesn't exists in the parent table
( implements 'dependency'). However I also want to 'automatically' add a
corresponding entry in the parent table in some of the relationships.
There is no option in the check_primary _key function for that.
Is there a newer version of the function available which will allow me
to specify what 'insert key rule' I want to implement?
If there is none then I may have to hack the code of check_primary_key
to do it. Is there someone who can help me do it faster?

Thanks,

Anand


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

Предыдущее
От: "Carilda A. Thomas"
Дата:
Сообщение: Re: "don't know how to print type 715"
Следующее
От: Anand Surelia
Дата:
Сообщение: Re:Foreign Keys