Re: Orphaned trigger -- bug?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mark Lubratt <mark(dot)lubratt(at)indeq(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Orphaned trigger -- bug?
Date: 2004-04-09 03:52:03
Message-ID: 20567.1081482723@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mark Lubratt <mark(dot)lubratt(at)indeq(dot)com> writes:
> I just ran across a situation where I dropped a table that had a
> trigger created on it. The system let me drop the table without
> complaining and then I realized/remembered that the trigger also
> existed.

Not any more --- triggers on a table certainly are dropped when the
table is dropped. The function called by a trigger wouldn't be
dropped though; is that what you meant?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-04-09 05:07:39 Re: Error Message from pgsql v7.3.6
Previous Message Siew Hui, Wong 2004-04-09 03:27:49 Error in function to pg_dump: Standard in must be a tty