Re: json_populate_* functions have extra undocumented parameter

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: scott(dot)ure(at)caseware(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: json_populate_* functions have extra undocumented parameter
Date: 2018-03-23 09:16:00
Message-ID: 5277ECB3-9EEB-47D0-ACAE-55045B03CA56@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

> On 23 Mar 2018, at 03:50, PG Doc comments form <noreply(at)postgresql(dot)org> wrote:
>
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/10/static/functions-json.html
> Description:
>
> The json_populate_record and json_populate_recordset functions have an extra
> optional undocumented boolean parameter. According to
> https://w3resource.com/PostgreSQL/postgresql-json-functions-and-operators.php
> the extra parameter is called "use_json_as_text”.

The use_json_as_text parameter was removed in commit a749a23d7af4db, the
definitions that remain in system_views.sql is for legacy compatibility with
9.3 which exposed this API. The PostgreSQL documentation is thus correct.

cheers ./daniel

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Daniel Westermann 2018-03-23 12:56:20 Blanks in the first line before the first word in the code boxes
Previous Message PG Doc comments form 2018-03-23 04:05:13 postgresql account