RESET does not work as described

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: moshe(at)neadwerx(dot)com
Subject: RESET does not work as described
Date: 2019-06-26 15:39:39
Message-ID: 156156357970.28503.14020488601421765077@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/10/bug-reporting.html
Description:

The initial value returned when current_setting() is passed an unset
parameter is '<NULL>'.
After a SET and a RESET, the value returned by current_setting() is ''.
This causes an invalid cast when the value is cast to an integer, as it is
expected to be.
Tested on Postgres 10 in Linux.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Joe Conway 2019-06-27 10:54:46 Re: RESET does not work as described
Previous Message Peter Eisentraut 2019-06-26 13:09:38 Re: Formatting of warning about using ident