RE: finding and removing a constraint...

From: "chris markiewicz" <cmarkiew(at)commnav(dot)com>
To: "'PostgreSQL-general'" <pgsql-general(at)postgresql(dot)org>
Subject: RE: finding and removing a constraint...
Date: 2001-03-20 21:19:42
Message-ID: 00c501c0b183$7b8a57b0$dbb846c6@cmarkiewicz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce pgsql-general

okay, i screwed up. i dropped some triggers from a table. now that table
is not accessible to me.

can't drop it...can't select...can't pg_dump.

message is error: RelationBuildTriggers: 2 record(s) not found for rel
accessor_group

or a pg_dump results in: getTables(): relation 'accessor_group': 6 Triggers
were expected, but got 4.

is there any way that i can re-insert them?

if i'm screwed, then how do i drop this table?

i really appreciate your help.

chris

-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org]On Behalf Of chris markiewicz
Sent: Tuesday, March 20, 2001 3:16 PM
To: 'PostgreSQL-general'
Subject: finding and removing a constraint...

hello

i am trying to remove a foreign key that i placed on a database. what is
the easiest way to find/delete the constraint?

thanks
chris

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

In response to

Responses

Browse pgsql-announce by date

  From Date Subject
Next Message Stephan Szabo 2001-03-20 21:38:22 Re: finding and removing a constraint...
Previous Message chris markiewicz 2001-03-20 20:16:05 finding and removing a constraint...

Browse pgsql-general by date

  From Date Subject
Next Message Matt Magoffin 2001-03-20 21:20:23 trigger inheritence?
Previous Message Hans-Jürgen Schönig 2001-03-20 21:06:31 Compile PL/Perl