From: Richard Huxton <dev@archonet.com>
To: Paul Gimpelj <pgimpelj@sympatico.ca>
Cc: pgsql-sql@postgresql.org
Subject: Re: v7.2 triggers and foreign keys
Date: Fri, 21 May 2004 09:11:36 +0100
Message-ID: <40ADB9B8.3000600@archonet.com> (raw)
In-Reply-To: <004801c43e98$db450060$3410fea9@zoom>
References: <004801c43e98$db450060$3410fea9@zoom>
Paul Gimpelj wrote:
> Hi,
>
> I have two tables a and b.; b references a.
> I used pgaccess to create tables.
> and psql to create the triggers and foreign keys. a has sequential id, and primary key same column.
>
> As constraints they were implicit, and cascade was off.
>
> On delete of the of a b row, postgres also deleted the a table row.
You'll need to show the table definitions (with foreign keys etc) and
also trigger definitions (use "\d table_a" in psql or "pg_dump
--schema-only -t tablename")
--
Richard Huxton
Archonet Ltd
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: dev@archonet.com, pgimpelj@sympatico.ca
Subject: Re: v7.2 triggers and foreign keys
In-Reply-To: <40ADB9B8.3000600@archonet.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