X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 08E38475957 for ; Fri, 14 Feb 2003 15:11:45 -0500 (EST) Received: from rtlocal.trade-india.com (mail-relay.trade-india.com [203.196.129.235]) by postgresql.org (Postfix) with SMTP id 2C7E34758E6 for ; Fri, 14 Feb 2003 15:11:41 -0500 (EST) Received: (qmail 21054 invoked from network); 14 Feb 2003 20:09:40 -0000 Received: from ns1.trade-india.com (HELO www.trade-india.com) (66.234.10.14) by infocom-236-129-del.trade-india.com with SMTP; 14 Feb 2003 20:09:40 -0000 Received: (qmail 14265 invoked by uid 99); 14 Feb 2003 20:11:55 -0000 Received: from 219.65.236.152 (SquirrelMail authenticated user mallah) by mail.trade-india.com with HTTP; Sat, 15 Feb 2003 01:41:55 +0530 (IST) Message-ID: <1397.219.65.236.152.1045253515.squirrel@mail.trade-india.com> Date: Sat, 15 Feb 2003 01:41:55 +0530 (IST) Subject: Re: problem with 'DROP TABLE' .. From: To: 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> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: , X-Mailer: SquirrelMail (version 1.2.6) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/239 X-Sequence-Number: 7437 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=3D# SELECT relfilenode,relkind,reltriggers from pg_class wh= ere relname=3D'branding_master'; relfilenode | relkind | reltriggers -------------+---------+------------- 46979870 | r | 0 48724633 | v | 0 (2 rows) tradein_clients=3D# SELECT count(*) from pg_trigger where tgrelid=3D4697987= 0; count ------- 9 (1 row) tradein_clients=3D# > > On Sat, 15 Feb 2003 mallah@trade-india.com wrote: > >> >> Hi , >> >> i get following error when attempting to drop a table. >> >> tradein_clients=3D# DROP TABLE branding_master; >> ERROR: DropTrigger: relation branding_nob_bak has reltriggers =3D 0 tra= dein_clients=3D# > > 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/