From: Frank Joerdens <frank@joerdens.de>
To: Frank Joerdens <frank@joerdens.de>
Cc: pgsql-sql@postgresql.org
Subject: Re: Re: How to drop an <unnamed> trigger
Date: Thu, 8 Mar 2001 17:51:26 +0100
Message-ID: <20010308175126.A16939@rakete.joerdens.de> (raw)
In-Reply-To: <20010308170629.A16771@rakete.joerdens.de>
References: <20010308164246.A16533@rakete.joerdens.de>
<20010308170629.A16771@rakete.joerdens.de>
On Thu, Mar 08, 2001 at 05:06:29PM +0100, Frank Joerdens wrote:
> On Thu, Mar 08, 2001 at 04:42:46PM +0100, Frank Joerdens wrote:
> > I've created quite a few foreign key constraints in the database that I
> > am currently working on, and now that I've altered the structure and
> > dropped a table that had a foreign key reference to a couple of other
> > tables, I need to get rid of those foreign keys (they weren't dropped
> > automagically with the table), as I get errors on trying to update those
> > tables.
>
> Just an idea: Is it safe to just delete the corresponding row in
> pg_trigger?
No, it ain't: After deleting the rows corresponding to the offending
triggers in pg_trigger, I can't vacuum, or dump.
- Frank
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-sql@postgresql.org
Cc: frank@joerdens.de
Subject: Re: How to drop an <unnamed> trigger
In-Reply-To: <20010308175126.A16939@rakete.joerdens.de>
References: <20010308164246.A16533@rakete.joerdens.de> <20010308170629.A16771@rakete.joerdens.de> <20010308175126.A16939@rakete.joerdens.de>
* 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