X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id BA7BECC137 for ; Thu, 10 Jul 2003 08:04:30 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 59286-08 for ; Thu, 10 Jul 2003 05:03:58 -0300 (ADT) Received: from ozimelb03.ozicom.com (unknown [203.185.247.100]) by svr1.postgresql.org (Postfix) with ESMTP id 209ADCC052 for ; Thu, 10 Jul 2003 04:56:06 -0300 (ADT) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C346B8.BEF6A0F6" Subject: Re: trigger proceedures in sql X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Thu, 10 Jul 2003 17:56:18 +1000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [SQL] trigger proceedures in sql Thread-Index: AcNGphP8jAWtLtGDRm26mi1WLB2ADAAEeWUg From: "David Witham" To: "adivi" Cc: X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/126 X-Sequence-Number: 14240 This is a multi-part message in MIME format. ------_=_NextPart_001_01C346B8.BEF6A0F6 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Adivi, =20 You can use PL/PgSQL functions with triggers. See chapter 19 of the program= mers reference: =20 http://www.postgresql.org/docs/7.3/static/plpgsql-trigger.html =20 =20 regards, David -----Original Message----- From: adivi [mailto:adivi@maximizelearning.com] Sent: Thursday, 10 July 2003 15:40 To: pgsql-sql@postgresql.org Subject: [SQL] trigger proceedures in sql hi, =20 can trigger proceedures ( procedures to be executed from within a tri= gger ) not be written in sql. =20 i was looking for examples and can find proceedures in 'c' only. =20 regards -adivi ------_=_NextPart_001_01C346B8.BEF6A0F6 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi=20 Adivi,
 
You=20 can use PL/PgSQL functions with triggers. See chapter 19 of the programmers= =20 reference:
 
htt= p://www.postgresql.org/docs/7.3/static/plpgsql-trigger.html
 
regards,
David
-----Original Message-----
From: adivi=20 [mailto:adivi@maximizelearning.com]
Sent: Thursday, 10 July 200= 3=20 15:40
To: pgsql-sql@postgresql.org
Subject: [SQL] tri= gger=20 proceedures in sql

hi,
 
      c= an=20 trigger proceedures ( procedures to be executed from within a trigger=20 )
      &= nbsp; not=20 be written in sql.
 
      i= was=20 looking for examples and can find proceedures in 'c' only.
 
regards
-adivi
------_=_NextPart_001_01C346B8.BEF6A0F6--