Re: How to add "on delete cascade" constraints

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Alexander Farber <alexander(dot)farber(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to add "on delete cascade" constraints
Date: 2012-04-27 19:30:06
Message-ID: 4F9AF3BE.5040404@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 27/04/2012 19:59, Alexander Farber wrote:
> Hello,
>
> in 8.4.9 is it please possible to add "on delete cascades" to
> the both foreign keys in the following table w/o dropping the table?

I think you will have to drop the foreign key and re-create it, but
certainly not the table.

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Farber 2012-04-27 19:40:51 Re: How to add "on delete cascade" constraints
Previous Message Alexander Farber 2012-04-27 18:59:13 How to add "on delete cascade" constraints