Re: Urgent Help : Use of return from function/procedure.
| От | Richard Huxton |
|---|---|
| Тема | Re: Urgent Help : Use of return from function/procedure. |
| Дата | |
| Msg-id | 200306231155.02330.dev@archonet.com обсуждение исходный текст |
| Ответ на | Urgent Help : Use of return from function/procedure. ("Anagha Joshi" <ajoshi@nulinkinc.com>) |
| Список | pgsql-sql |
On Monday 23 Jun 2003 6:42 am, Anagha Joshi wrote: > 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. Short answer - you don't. I'm not sure why you want to do this - if you just inserted the new values, surely you know what they are? There was something very similar to this last week, I'd have a look in the mailing-list archives at http://archives.postgresql.org - it was either this list or "general". -- Richard Huxton
В списке pgsql-sql по дате отправления: