RETURN NULL in the sample of insert trigger on partitioned table

2018-07-11 Thread PG Doc comments form
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.


Re: Building client-only fails

2018-07-11 Thread Tom Lane
=?utf-8?q?PG_Doc_comments_form?=  writes:
> Page: https://www.postgresql.org/docs/10/static/install-procedure.html

> When running
> make -C src/include install
> it failss with:
> /usr/bin/install: cannot stat 'utils/fmgroids.h': No such file or directory

Hm, did you skip straight to that without doing "make" first?
That's not really the documented procedure.

Having said that, skipping the make step and going straight to install
does work for me in v11/HEAD.  I see the failure you describe in v10,
but I'm not terribly excited about trying to fix it there, since it's
not the documented process.

regards, tom lane