json and jsonb bug report

From: Atsushi Ide <atsushi(dot)530(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: json and jsonb bug report
Date: 2017-08-21 04:35:52
Message-ID: CABMs07T0JgzdZe99M8ZKkUKfOJkJMRoO+WNAZSK2PVfm=Ap2TA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi

I found a bug in json and jsonb with null value.

select '{"a":null}'::json;
select '{"a":null}'::jsonb;

it's OK, but followings are returned error.

select '{"a":NULL}'::json;
select '{"a":NULL}'::jsonb;

please fix this bug.
thanks.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2017-08-21 05:10:28 Re: json and jsonb bug report
Previous Message yxq 2017-08-20 19:17:20 BUG #14785: Logical replication does not work after adding a column. Bug?