Re: deleting the master but not the detail

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: "Ismael (dot)(dot)(dot)(dot)" <ismaelpsp(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: deleting the master but not the detail
Date: 2008-07-17 17:00:44
Message-ID: 487F7ABC.1090604@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 17/07/2008 17:11, Ismael .... wrote:

> ON DELETE RESTRICT | NO ACTION won't let me delete the master
> CASCADE | SET NULL | SET DEFAULT will modify the details

Can you just drop the constraint that's doing the referential integrity?

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ismael .... 2008-07-17 17:09:00 Re: deleting the master but not the detail
Previous Message Douglas McNaught 2008-07-17 16:52:20 Re: deleting the master but not the detail