RETURN NULL in the sample of insert trigger on partitioned table

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема RETURN NULL in the sample of insert trigger on partitioned table
Дата
Msg-id 153130169932.1401.6073393592184007233@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: RETURN NULL in the sample of insert trigger on partitioned table
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.6/static/ddl-partitioning.html
Description:

Why in provided samples of "insert" triggers on partitioned table at the end
of the triggers you provide "return NULL" not "return NEW"?

This causes, among other things, problems with the GET DIAGNOSTICS clause
var = ROW_COUNT clause.

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

Предыдущее
От: Jürgen Purtz
Дата:
Сообщение: Re: Images in the official documentation
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Building client-only fails