BUG #10498: documented function json_each(jsonb) is missing.

From: matt(at)schinckel(dot)net
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #10498: documented function json_each(jsonb) is missing.
Date: 2014-06-02 12:20:30
Message-ID: 20140602122030.2802.35717@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 10498
Logged by: Matthew Schinckel
Email address: matt(at)schinckel(dot)net
PostgreSQL version: 9.4beta1
Operating system: Mac OS X
Description:

http://www.postgresql.org/docs/9.4/static/functions-json.html#FUNCTIONS-JSON-PROCESSING-TABLE,
row 2 indicates this function should be there. Executing it shows
otherwise.

matt=# SELECT json_each('{"a":1}'::json);
json_each
-----------
(a,1)
(1 row)

matt=# SELECT json_each('{"a":1}'::jsonb);
ERROR: function json_each(jsonb) does not exist
LINE 1: SELECT json_each('{"a":1}'::jsonb);
^
HINT: No function matches the given name and argument types. You might need
to add explicit type casts.

Browse pgsql-bugs by date

  From Date Subject
Next Message matt 2014-06-02 12:21:44 BUG #10499: documented function json_each(jsonb) is missing.
Previous Message Honza Horak 2014-06-02 08:42:41 Re: postgresql test failure with Python 3.4.0 in plpython_do