Re: please inform data_directory

2018-10-10 Thread Michael Paquier
On Wed, Oct 10, 2018 at 03:59:59PM -0400, Bruce Momjian wrote: > What do you mean by that? I can call pg_read_file() before calling > 'SHOW data_directory'. Are you saying that pg_read_file can only read > in the data_directory? It is designed that way. Please note that v11 has added a new def

Re: please inform data_directory

2018-10-10 Thread Bruce Momjian
On Sun, Sep 9, 2018 at 11:41:36PM +, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/10/static/functions-admin.html > Description: > > It is impossible to use pg_read_file(), etc. functions without >

v11: RETURN syntax for procedure

2018-10-10 Thread fn ln
Hello. I've found this on the docs: https://www.postgresql.org/docs/devel/static/plpgsql-control-structures.html#PLPGSQL-STATEMENTS-RETURNING-PROCEDURE > If a RETURN statement is desired to exit the code early, then NULL must be returned. But isn't actual syntax just RETURN without an expression?