public inbox for [email protected]  
help / color / mirror / Atom feed
From: Daniel Gustafsson <[email protected]>
To: [email protected]
To: [email protected]
Subject: Re: json_populate_* functions have extra undocumented parameter
Date: Fri, 23 Mar 2018 10:16:00 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[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




view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: json_populate_* functions have extra undocumented parameter
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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