public inbox for [email protected]  
help / color / mirror / Atom feed
json_populate_* functions have extra undocumented parameter
2+ messages / 2 participants
[nested] [flat]

* json_populate_* functions have extra undocumented parameter
@ 2018-03-23 02:50  PG Doc comments form <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2018-03-23 02:50 UTC (permalink / raw)
  To: [email protected]; +Cc: [email protected]

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".




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: json_populate_* functions have extra undocumented parameter
@ 2018-03-23 09:16  Daniel Gustafsson <[email protected]>
  parent: PG Doc comments form <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Daniel Gustafsson @ 2018-03-23 09:16 UTC (permalink / raw)
  To: [email protected]; [email protected]

> On 23 Mar 2018, at 03:50, PG Doc comments form <[email protected]> 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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-03-23 09:16 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-03-23 02:50 json_populate_* functions have extra undocumented parameter PG Doc comments form <[email protected]>
2018-03-23 09:16 ` Daniel Gustafsson <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox