Re: Trigger, record "old" is not assigned yet

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Trigger, record "old" is not assigned yet
Дата
Msg-id 200607131638.54001.aklaver@comcast.net
обсуждение исходный текст
Ответ на Trigger, record "old" is not assigned yet  ("Daniel Caune" <daniel.caune@ubisoft.com>)
Ответы Re: Trigger, record "old" is not assigned yet
Список pgsql-sql
For plpgsql use TG_OP. See link below.
http://www.postgresql.org/docs/8.1/interactive/plpgsql-trigger.html
On Thursday 13 July 2006 03:50 pm, Daniel Caune wrote:
> Hi,
>
>
>
> I've created a trigger BEFORE INSERT OR UPDATE on a table and, indeed,
> when the trigger is raised before insertion the record "old" is not
> assigned.  Is there a way to distinguish in the trigger procedure from
> an insert statement to an update statement?
>
>
>
> Regards,
>
>
>
>
>
> --
>
> Daniel CAUNE
>
> Ubisoft Online Technology
>
> (514) 490 2040 ext. 3613

-- 
Adrian Klaver    
aklaver@comcast.net


В списке pgsql-sql по дате отправления:

Предыдущее
От: "Daniel Caune"
Дата:
Сообщение: Trigger, record "old" is not assigned yet
Следующее
От: "Aaron Bono"
Дата:
Сообщение: Re: Trigger, record "old" is not assigned yet