Re: Improve documentation for current_setting function

2019-02-22 Thread Eugen Konkov
Hello Bruce, > How do you like the attached patch, which clarifies this? >>in which case a missing parameter returns >>! NULL. not always. It can be NULL or empty string. It depends if the current session is new or after finished transaction which makes 'local' changes to setting Take

Re: Improve documentation for current_setting function

2019-02-21 Thread Bruce Momjian
On Wed, Feb 20, 2019 at 12:59:45PM +, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/11/functions-admin.html > Description: > > Hi. > > Doc is not clear about what is returned if current_setting( >

Improve documentation for current_setting function

2019-02-20 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/11/functions-admin.html Description: Hi. Doc is not clear about what is returned if current_setting( 'app.not_existent', true ) is called. Does it return empty string '', because return