From: Tom Lane <tgl@sss.pgh.pa.us>
To: Brian McCane <bmccane@mccons.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Listing Triggers
Date: Wed, 30 Jan 2002 13:26:44 -0500
Message-ID: <24961.1012415204@sss.pgh.pa.us> (raw)
In-Reply-To: <20020130115327.S80122-100000@fw.mccons.net>
References: <20020130115327.S80122-100000@fw.mccons.net>
Brian McCane <bmccane@mccons.net> writes:
> Thanks Tom and Arguile that definitely helps. Now for my more
> pressing, but forgotten question. Shouldn't PostgreSQL have automatically
> dropped that trigger when I dropped the table?
It should, and it does.
IIRC, there's a bug in some versions of pg_dump that loses the
connection between a foreign-key trigger and the referenced table
(ie, the tgconstrrelid link) when you dump and reload. If you can
exhibit an instance of misbehavior otherwise, I'd like to see it.
regards, tom lane
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: tgl@sss.pgh.pa.us, bmccane@mccons.net
Subject: Re: Listing Triggers
In-Reply-To: <24961.1012415204@sss.pgh.pa.us>
References: <20020130115327.S80122-100000@fw.mccons.net> <24961.1012415204@sss.pgh.pa.us>
* 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