pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: moshe@neadwerx.com
Subject: RESET does not work as described
Date: Wed, 26 Jun 2019 15:39:39 +0000
Message-ID: <156156357970.28503.14020488601421765077@wrigleys.postgresql.org> (raw)

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.


view thread (2+ messages)  latest in thread

Message-ID: <156156357970.28503.14020488601421765077@wrigleys.postgresql.org>
Permalink:  ../156156357970.28503.14020488601421765077@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/156156357970.28503.14020488601421765077@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, moshe@neadwerx.com
  Subject: Re: RESET does not work as described
  In-Reply-To: <156156357970.28503.14020488601421765077@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox