RETURN NULL in the sample of insert trigger on partitioned table - Mailing list pgsql-docs

From PG Doc comments form
Subject RETURN NULL in the sample of insert trigger on partitioned table
Date
Msg-id 153130169932.1401.6073393592184007233@wrigleys.postgresql.org
Whole thread Raw
Responses Re: RETURN NULL in the sample of insert trigger on partitioned table
List 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 by date:

Previous
From: Jürgen Purtz
Date:
Subject: Re: Images in the official documentation
Next
From: Tom Lane
Date:
Subject: Re: Building client-only fails