From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: jacobcrell@gmail.com
Subject: BUG #15763: JSON nulls not handled properly
Date: Tue, 16 Apr 2019 19:13:13 +0000
Message-ID: <15763-200acd20c49eeff5@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 15763
Logged by: Jacob Crell
Email address: jacobcrell@gmail.com
PostgreSQL version: 9.6.8
Operating system: AWS RDS
Description:
SELECT '{"test":null}'::json->>'test' will return a null
SELECT '{"test":null}'::json->'test' will return a string 'null'
The 2nd option seems like it should also return a null.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, jacobcrell@gmail.com
Subject: Re: BUG #15763: JSON nulls not handled properly
In-Reply-To: <15763-200acd20c49eeff5@postgresql.org>
References: <15763-200acd20c49eeff5@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