Re: problem with 'DROP TABLE' ..

From: <mallah(at)trade-india(dot)com>
To: <sszabo(at)megazone23(dot)bigpanda(dot)com>
Cc: <mallah(at)trade-india(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: problem with 'DROP TABLE' ..
Date: 2003-02-14 20:11:55
Message-ID: 1397.219.65.236.152.1045253515.squirrel@mail.trade-india.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

yep there is a mismatch .
shud i delete the entries from pg_trigger to match reltriggers
i am sure i dont' need those triggers.

regds
mallah.

tradein_clients=# SELECT relfilenode,relkind,reltriggers from pg_class where
relname='branding_master'; relfilenode | relkind | reltriggers
-------------+---------+-------------
46979870 | r | 0
48724633 | v | 0
(2 rows)

tradein_clients=# SELECT count(*) from pg_trigger where tgrelid=46979870;
count
-------
9
(1 row)

tradein_clients=#

>
> On Sat, 15 Feb 2003 mallah(at)trade-india(dot)com wrote:
>
>>
>> Hi ,
>>
>> i get following error when attempting to drop a table.
>>
>> tradein_clients=# DROP TABLE branding_master;
>> ERROR: DropTrigger: relation branding_nob_bak has reltriggers = 0 tradein_clients=#
>
> Did you make any direct changes to the pg_class row or to the pg_triggers rows associated with
> this table?

-----------------------------------------
Get your free web based email at trade-india.com.
"India's Leading B2B eMarketplace.!"
http://www.trade-india.com/

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Stephan Szabo 2003-02-14 20:17:30 Re: problem with 'DROP TABLE' ..
Previous Message Stephan Szabo 2003-02-14 19:56:29 Re: problem with "DROP TABLE" ..