From: | "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com> |
---|---|
To: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: INSERT Return Value? |
Date: | 2006-12-12 06:03:48 |
Message-ID: | 20061212060348.GA18348@a-kretschmer.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Karebac | 2006-12-12 11:56:47 | How many here use pgsql with Python? |
Previous Message | Tom Lane | 2006-12-12 01:07:27 | Re: do not obtain all columns from DBD::Pg |