deletion and many-to-one

From: Jennifer Vargas <w47fnpch02(at)sneakemail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: deletion and many-to-one
Date: 2003-08-09 21:17:15
Message-ID: 3F3564DB.2010203@sneakemail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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?

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Stephan Szabo 2003-08-09 22:11:44 Re: deletion and many-to-one
Previous Message John T. Yocum 2003-08-09 16:19:01 Re: CURRENT TIME causes server to shutdown connection