pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mallah@trade-india.com
To: sszabo@megazone23.bigpanda.com
Cc: mallah@trade-india.com
Cc: pgsql-admin@postgresql.org
Subject: Re: problem with 'DROP TABLE' ..
Date: Sat, 15 Feb 2003 01:41:55 +0530 (IST)
Message-ID: <1397.219.65.236.152.1045253515.squirrel@mail.trade-india.com> (raw)
In-Reply-To: <20030214115547.E64558-100000@megazone23.bigpanda.com>
References: <1109.219.65.236.152.1045248600.squirrel@mail.trade-india.com>
	<20030214115547.E64558-100000@megazone23.bigpanda.com>



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@trade-india.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/





view thread (5+ messages)  latest in thread

Message-ID: <1397.219.65.236.152.1045253515.squirrel@mail.trade-india.com>
Permalink:  ../1397.219.65.236.152.1045253515.squirrel@mail.trade-india.com/
Also on:    postgresql.org/message-id/1397.219.65.236.152.1045253515.squirrel@mail.trade-india.com

 · 

reply

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-admin@postgresql.org
  Cc: mallah@trade-india.com, sszabo@megazone23.bigpanda.com
  Subject: Re: problem with 'DROP TABLE' ..
  In-Reply-To: <1397.219.65.236.152.1045253515.squirrel@mail.trade-india.com>
  References: <1109.219.65.236.152.1045248600.squirrel@mail.trade-india.com> <20030214115547.E64558-100000@megazone23.bigpanda.com> <1397.219.65.236.152.1045253515.squirrel@mail.trade-india.com>

* 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