Re: orphaned RI constraints - Mailing list pgsql-general

From Somazx Interesting
Subject Re: orphaned RI constraints
Date
Msg-id 5.1.0.14.2.20010709104747.030e8008@mail.rct1.bc.wave.home.com
Whole thread Raw
In response to orphaned RI constraints  (Somazx Interesting <somazx@home.com>)
Responses Re: orphaned RI constraints  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Re: orphaned RI constraints  (Jan Wieck <JanWieck@Yahoo.com>)
List pgsql-general
At 01:30 PM 7/6/2001 -0700, you wrote:
>To fix it, you should be able to use DROP TRIGGER on the appropriate
>triggers that were created (you can find these through a select on
>pg_trigger, using the tgargs to find the appropriate ones).  As a warning,
>you need to double quote the trigger name, so for example if you saw the
>following rows for the constraint:
>
>   782359 | RI_ConstraintTrigger_782384 |   1654 |      9 | true      |
>true           | <unnamed>     |        782372 | false        | false
>|       6 |        | <unnamed>\000qqq2\000qqq\000UNSPECIFIED\000a\000a\000
>   782359 | RI_ConstraintTrigger_782386 |   1655 |     17 | true      |
>true           | <unnamed>     |        782372 | false        | false
>|       6 |        | <unnamed>\000qqq2\000qqq\000UNSPECIFIED\000a\000a\000
>
>you should be able to do
>DROP TRIGGER "RI_ConstraintTrigger_782384";
>DROP TRIGGER "RI_ConstraintTrigger_782386";

Hi,

The above doesn't work for me since DROP TRIGGER requires an ON <table
name> argument, and the table which the trigger is on has long since been
dropped.

Is there something else I can try?

Thanks,
Andy.


pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: ODBC 3.0 functions (UCASE, LCASE, etc.)
Next
From: "Sullivan,Deric [CMC]"
Date:
Subject: Info regarding integrating a barcode reader with PostgreSQL