X-Original-To: pgsql-sql@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 94AD94758DC for ; Fri, 21 Feb 2003 16:27:19 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 76243-10 for ; Fri, 21 Feb 2003 16:27:08 -0500 (EST) Received: from utahisp.com (cyber-wire.com [66.239.12.3]) by postgresql.org (Postfix) with ESMTP id 142F7475E3A for ; Fri, 21 Feb 2003 15:47:26 -0500 (EST) Received: from chad [63.230.8.76] by utahisp.com (SMTPD32-7.14) id A0045903E8; Fri, 21 Feb 2003 13:45:56 -0700 Message-ID: <053101c2d9ea$02848890$32021aac@chad> From: "Chad Thompson" To: "Graham Vickrage" , References: <008f01c2d9ac$90be5430$6d00000a@GVICKRAGE> Subject: Re: How do I view triggers Date: Fri, 21 Feb 2003 13:44:19 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Declude-Sender: chad@weblinkservices.com [63.230.8.76] X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com) for spam. X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/491 X-Sequence-Number: 11889 select * from pg_triggers where tgname = 'my_trigger_name'; works great in 7.3. What version are you using? Thanks Chad ----- Original Message ----- From: "Graham Vickrage" To: Sent: Friday, February 21, 2003 6:24 AM Subject: [SQL] How do I view triggers > Hi All, > > I am slightly confused as to how I view what triggers I have on a > certain table. > > select * from pg_trigger > > doesn't show me the trigger I have just created, but its definitely > there because when I try and create it, it gives an error that it > already exists. > > TIA > > Graham > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly >