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 93EA230F613 for ; Mon, 23 Jun 2003 05:42:42 +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 90314-02 for ; Mon, 23 Jun 2003 02:42:32 -0300 (ADT) Received: from TactiCom-MA1.TactiCom.com (unknown [216.235.244.20]) by svr1.postgresql.org (Postfix) with SMTP id 8627F30F616 for ; Mon, 23 Jun 2003 02:42:23 -0300 (ADT) Received: from [203.124.133.194] by TactiCom-MA1.Nulinkinc.com (NTMail 4.30.0013/NU4135.00.d4f82e0c) with ESMTP id cgqgiaaa for ; Mon, 23 Jun 2003 01:42:01 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3394A.2C150FD8" Subject: Urgent Help : Use of return from function/procedure. X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Mon, 23 Jun 2003 11:12:02 +0530 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Urgent Help : Use of return from function/procedure. Thread-Index: AcM5Sdal2EbRzKUrEdedogBABabtaA== From: "Anagha Joshi" To: X-Spam-Status: No, hits=3.3 tagged_above=0.0 required=5.0 tests=BAYES_20, HTML_30_40, NIGERIAN_SUBJECT2, RCVD_IN_DSBL X-Spam-Level: *** X-Archive-Number: 200306/253 X-Sequence-Number: 14011 This is a multi-part message in MIME format. ------_=_NextPart_001_01C3394A.2C150FD8 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I'm new to postgres and using version 7.2.4 I've created a trigger and function which does the following: trigger 'T' fires after insert on a spcific table takes place and it executes function 'F' Function 'F' returns the new record inserted by 'return new' statement. Now my question is: How can I use this 'new' value in my client program? In this prgm., I want to know which all values are inserted into the table. Help is appreciated. Thx, Anagha ------_=_NextPart_001_01C3394A.2C150FD8 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Urgent Help : Use of return from function/procedure.

Hi,
I'm new to postgres and using version 7.2= .4

I've created a trigger and function which = does the following:
        trigger 'T' fires after insert on a spcific table takes place and it exec= utes function 'F'

Function 'F' returns the new record insert= ed by 'return new' statement.

Now my question is:
How can I use this 'new' value in my clie= nt program? In this prgm., I want to know which all values are inserted int= o the table.

Help is appreciated.

Thx,
Anagha

------_=_NextPart_001_01C3394A.2C150FD8--