json_populate_* functions have extra undocumented parameter

Поиск
Список
Период
Сортировка
Искать

json_populate_* functions have extra undocumented parameter

От:
PG Doc comments form <noreply@postgresql.org>
Дата:
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".


Re: json_populate_* functions have extra undocumented parameter

От:
Daniel Gustafsson <daniel@yesql.se>
Дата:
> On 23 Mar 2018, at 03:50, PG Doc comments form  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
FAQ