Improve wording for FDW header file reference

2018-10-18 Thread Daniel Gustafsson
The "Foreign Data Wrapper Callback Routines” section contains an odd wording in
the reference to the relevant headerfile:

"The FdwRoutine struct type is declared in
src/include/foreign/fdwapi.h, which see for additional details.”

The attached patch is an attempt at improving this.

cheers ./daniel



fdwapi_wording.patch
Description: Binary data


CREATE PROCEDURE Documentation

2018-10-18 Thread PG Doc comments form
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/static/sql-call.html
Description:

In the documentation for the CALL statement, it is mentioned that PROCEDUREs
are capable of executing transaction-control statements. I think the CREATE
PROCEDURE Documentation should mention this, because it is the only reason I
would use a PROCEDURE over a FUNCTION.

Also, it should be clarified whether or not PROCEDUREs are implicitly run in
a transaction.