Re: [DOCS] jsonb_each_text(jsonb) returns value::jsonb, not text - Mailing list pgsql-docs

From Marko Tiikkaja
Subject Re: [DOCS] jsonb_each_text(jsonb) returns value::jsonb, not text
Date
Msg-id 900a67c4-762b-5386-86b4-a9537c40bc72@joh.to
Whole thread Raw
In response to [DOCS] jsonb_each_text(jsonb) returns value::jsonb, not text  (vodevsh@gmail.com)
List pgsql-docs
On 2016-12-09 2:05 PM, vodevsh@gmail.com wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/9.6/static/functions-json.html
> Description:
>
> Hi,
> According to
> https://www.postgresql.org/docs/current/static/functions-json.html,
> "jsonb_each_text(jsonb)" returns "setof key text, value text", but if you
> "pg_typeof(value)" on result it shows "jsonb".

Not here:

=> select pg_typeof(value) from jsonb_each_text('{"foo":"bar"}');
  pg_typeof
-----------
  text
(1 row)


.m


pgsql-docs by date:

Previous
From: vodevsh@gmail.com
Date:
Subject: [DOCS] jsonb_each_text(jsonb) returns value::jsonb, not text
Next
From: penorman@mac.com
Date:
Subject: [DOCS] pg_dump multiple CPUs