Re: Trigger for Truncate event

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: Trigger for Truncate event
Дата
Msg-id 20090827081731.GL9779@a-kretschmer.de
обсуждение исходный текст
Ответ на Re: Trigger for Truncate event  (Jignesh Shah <jignesh.shah1980@gmail.com>)
Ответы Re: Trigger for Truncate event  (Jignesh Shah <jignesh.shah1980@gmail.com>)
Список pgsql-novice
In response to Jignesh Shah :
> Thanks Kretschmer. Could you tell me what "return new" meant for?

A trigger function must return either NULL or a record/row value having
exactly the structure of the table the trigger was fired for. Okay, in
this case, you can also return NULL. NEW means the new record, but you
need it only for row level triggers afaik.


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

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

Предыдущее
От: Jignesh Shah
Дата:
Сообщение: Re: Trigger for Truncate event
Следующее
От: Shane Ambler
Дата:
Сообщение: Re: Install new perl test function in PostgreSQL