From: Dan Langille <dan@langille.org>
To: pgsql-admin@postgresql.org
Subject: Re: removing duplicated constraints
Date: Sat, 2 Mar 2002 12:49:10 -0500
Message-ID: <200203021749.g22HnDk53558@lists.unixathome.org> (raw)
In-Reply-To: <200203021519.g22FJjk52460@lists.unixathome.org>
On 2 Mar 2002 at 10:19, Dan Langille wrote:
> CREATE CONSTRAINT TRIGGER "<unnamed>" AFTER INSERT OR UPDATE ON "ports"
> FROM "categories" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE
> PROCEDURE "RI_FKey_check_ins" ('<unnamed>', 'ports', 'categories',
> 'UNSPECIFIED', 'category_id', 'id');
>
> CREATE CONSTRAINT TRIGGER "<unnamed>" AFTER INSERT OR UPDATE ON "ports"
> FROM "categories" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE
> PROCEDURE "RI_FKey_check_ins" ('<unnamed>', 'ports', 'categories',
> 'UNSPECIFIED', 'category_id', 'id');
How is an unnamed trigger deleted? During a dump, I can find information
such as this:
--
-- TOC Entry ID 211 (OID 998200)
--
-- Name: "RI_ConstraintTrigger_998199" Type: TRIGGER Owner: dan
--
How is that information useful to this situation?
--
Dan Langille
The FreeBSD Diary - http://freebsddiary.org/ - practical examples
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: dan@langille.org
Subject: Re: removing duplicated constraints
In-Reply-To: <200203021749.g22HnDk53558@lists.unixathome.org>
References: <200203021519.g22FJjk52460@lists.unixathome.org> <200203021749.g22HnDk53558@lists.unixathome.org>
* 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