Re: INSERT Return Value? - Mailing list pgsql-novice

From A. Kretschmer
Subject Re: INSERT Return Value?
Date
Msg-id 20061212060348.GA18348@a-kretschmer.de
Whole thread Raw
In response to INSERT Return Value?  (Greg Lindstrom <greg.lindstrom@novasyshealth.com>)
List pgsql-novice
am  Mon, dem 11.12.2006, um 14:46:08 -0600 mailte Greg Lindstrom folgendes:
> Hello-
>
> I am running Postgres 8.08 on a Linux system.  When I insert data into a
> table I generate and store a value in the table via a trigger that fires
> after the insert.  Is there a way to retrieve the value that I generate
> with the trigger?  In this case, I am generating a broker number and

is this a pl/pgsql-trigger-function? You can RAISE NOTICE the generated
number to the font-end.


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47215,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: do not obtain all columns from DBD::Pg
Next
From: "Karebac"
Date:
Subject: How many here use pgsql with Python?