| От | Tom Lane |
|---|---|
| Тема | Re: Trigger function returning null |
| Дата | |
| Msg-id | 24291.1092413930@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Trigger function returning null (Thomas Hallgren <thhal@mailblocks.com>) |
| Список | pgsql-hackers |
Thomas Hallgren <thhal@mailblocks.com> writes:
> Perhaps you should either change this behavior or make a note it in
> "Writing Trigger Functions in C"?
Okay, I've changed the text thusly:
diff -r1.35 trigger.sgml
434,435c434,437
< A trigger function must return either <symbol>NULL</> or a
< <structname>HeapTuple</> pointer. Be careful to return either
---
> A trigger function must return either a
> <structname>HeapTuple</> pointer or a <symbol>NULL</> pointer
> (<emphasis>not</> a SQL NULL, that is, do not set isNull true).
> Be careful to return either
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера