pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: matt@schinckel.net
To: pgsql-bugs@postgresql.org
Subject: BUG #10498: documented function json_each(jsonb) is missing.
Date: Mon, 02 Jun 2014 12:20:30 +0000
Message-ID: <20140602122030.2802.35717@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      10498
Logged by:          Matthew Schinckel
Email address:      matt@schinckel.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.




-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



Message-ID: <20140602122030.2802.35717@wrigleys.postgresql.org>
Permalink:  ../20140602122030.2802.35717@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20140602122030.2802.35717@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 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: matt@schinckel.net
  Subject: Re: BUG #10498: documented function json_each(jsonb) is missing.
  In-Reply-To: <20140602122030.2802.35717@wrigleys.postgresql.org>
  References: <20140602122030.2802.35717@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