Skip site navigation (1) Skip section navigation (2)

how to add "on delete cascade" to a foreign key constraint?

From: A B <gentosaker(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: how to add "on delete cascade" to a foreign key constraint?
Date: 2010-08-18 15:56:17
Message-ID: AANLkTimTHo7ttMvVudMYbjXDTKTESj4HsSROAZsn4KTK@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-novice
Hello.

I have a table with a foreign key constraint, how can I add "on delete
cascade" to the foreign key?

Responses

pgsql-novice by date

Next:From: Tom LaneDate: 2010-08-18 16:24:07
Subject: Re: how to add "on delete cascade" to a foreign key constraint?
Previous:From: Chip SteeleDate: 2010-08-18 15:20:20
Subject: Streaming Replication in PostgreSQL9.0 b4: Standby dropping connections

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group