Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 961114763A3 for ; Wed, 4 Dec 2002 14:07:27 -0500 (EST) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id A8CBA476982 for ; Wed, 4 Dec 2002 13:56:05 -0500 (EST) Received: by news.hub.org (Postfix, from userid 8) id 964A043B0E5; Wed, 4 Dec 2002 13:56:05 -0500 (EST) From: Jack Flak Subject: Re: Disabling triggers on a relation. X-Newsgroups: comp.databases.postgresql.admin References: <200212010252.33123.mallah@trade-india.com> Lines: 21 Organization: not much User-Agent: KNode/0.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-ID: X-Complaints-To: abuse@prodigy.net X-UserInfo1: FKPGG[SEQJTCRVT[EBCBNWX@RJ_XPDLMN@GZ_GYO^BVNDQUBLNTC@AWZWDXZXQ[K\FFSKCVM@F_N_DOBWVWG__LG@VVOIPLIGX\\BU_B@\P\PFX\B[APHTWAHDCKJF^NHD[YJAZMCY_CWG[SX\Y]^KC\HSZRWSWKGAY_PC[BQ[BXAS\F\\@DMTLFZFUE@\VL Date: Wed, 04 Dec 2002 18:55:07 GMT To: pgsql-admin@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/129 X-Sequence-Number: 6624 Greetings Raj, I found this to be helpful: SELECT tgname, tgenabled AS tf, tgconstrname FROM pg_trigger ; Rajesh Kumar Mallah. wrote: > Hi , > > What is the correct method of temporarily > disabling all triggers from a table? > > > also is there any command/function to show the > trigger defination ? like pg_index_def does for indexes? > > > regds > mallah.