On 02/11/10 18:29, Jonathan Tripathy wrote: > I don't really mind what happens, as > long as the user is made aware of what has happen, and there arenât any > memberships with no corresponding customers. Well, that's taken care of by a referential integrity constraint. You don't need anything else. It sounded earlier like you also needed to ensure that there were no customers without corresponding memberships. -- Craig Ringer Tech-related writing: http://soapyfrogs.blogspot.com/ -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general