From: Anagha Joshi <ajoshi@nulinkinc.com>
To: pgsql-sql@postgresql.org
Subject: Urgent Help : Use of return from function/procedure.
Date: Mon, 23 Jun 2003 11:12:02 +0530
Message-ID: <FF851C7EEB75954F9BCFB5CA117AB1EC61A446@delta.nulinkinc.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: ajoshi@nulinkinc.com
Subject: Re: Urgent Help : Use of return from function/procedure.
In-Reply-To: <FF851C7EEB75954F9BCFB5CA117AB1EC61A446@delta.nulinkinc.com>
References: <FF851C7EEB75954F9BCFB5CA117AB1EC61A446@delta.nulinkinc.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox