From: felix@crowfix.com
To: pgsql-sql@postgresql.org
Subject: Re: Delete with foreign keys
Date: Fri, 22 Feb 2008 23:47:04 -0800
Message-ID: <20080223074704.GA12653@crowfix.com> (raw)
In-Reply-To: <47BFC74D.9090200@mobilefundas.com>
References: <20080222180021.GA7700@crowfix.com>
<47BFC74D.9090200@mobilefundas.com>
On Sat, Feb 23, 2008 at 12:42:13PM +0530, dipesh wrote:
> alter table data add constraint data_place_id_fkey FOREIGN KEY(place_id)
> REFERENCES place(id) ON DELETE CASCADE ON UPDATE CASCADE;
Interestingly different way of doing it. Thanks. It makes me think
too :-)
--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: felix@crowfix.com
Subject: Re: Delete with foreign keys
In-Reply-To: <20080223074704.GA12653@crowfix.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox