Re: INSERT Return Value?

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: INSERT Return Value?
Дата
Msg-id 20061212060348.GA18348@a-kretschmer.de
обсуждение исходный текст
Ответ на INSERT Return Value?  (Greg Lindstrom <greg.lindstrom@novasyshealth.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: do not obtain all columns from DBD::Pg
Следующее
От: "Karebac"
Дата:
Сообщение: How many here use pgsql with Python?