deletion and many-to-one

Поиск
Список
Период
Сортировка
От Jennifer Vargas
Тема deletion and many-to-one
Дата
Msg-id 3F3564DB.2010203@sneakemail.com
обсуждение исходный текст
Ответы Re: deletion and many-to-one  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список pgsql-novice
If you have a many-to-one relationship, such as a contact list where
several people
share an address, you may want to delete the child record once the last
reference to
it is gone. I don't see how to implement a reference-counting scheme in
a database.
What's the right way to accomplish this?


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

Предыдущее
От: "John T. Yocum"
Дата:
Сообщение: Re: CURRENT TIME causes server to shutdown connection
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: deletion and many-to-one