Re: [DOCS] jsonb_each_text(jsonb) returns value::jsonb, not text

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема Re: [DOCS] jsonb_each_text(jsonb) returns value::jsonb, not text
Дата
Msg-id 900a67c4-762b-5386-86b4-a9537c40bc72@joh.to
обсуждение исходный текст
Ответ на [DOCS] jsonb_each_text(jsonb) returns value::jsonb, not text  (vodevsh@gmail.com)
Список 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 по дате отправления:

Предыдущее
От: vodevsh@gmail.com
Дата:
Сообщение: [DOCS] jsonb_each_text(jsonb) returns value::jsonb, not text
Следующее
От: penorman@mac.com
Дата:
Сообщение: [DOCS] pg_dump multiple CPUs