Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WaRi5-00068z-0t for pgsql-docs@arkaria.postgresql.org; Wed, 16 Apr 2014 15:25:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WaRi4-0006nb-GH for pgsql-docs@arkaria.postgresql.org; Wed, 16 Apr 2014 15:25:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WaRi3-0006nP-TM for pgsql-docs@postgresql.org; Wed, 16 Apr 2014 15:25:11 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WaRi1-0005kj-8Q for pgsql-docs@postgresql.org; Wed, 16 Apr 2014 15:25:11 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1WaRi0-0000SS-CH; Wed, 16 Apr 2014 11:25:08 -0400 Date: Wed, 16 Apr 2014 11:25:08 -0400 From: Bruce Momjian To: rudolf Cc: pgsql-docs@postgresql.org Subject: Re: documentation: json processing table pasto Message-ID: <20140416152508.GD7443@momjian.us> References: <534A5A88.7020108@eq.cz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MW5yreqqjyrRcusr" Content-Disposition: inline In-Reply-To: <534A5A88.7020108@eq.cz> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org --MW5yreqqjyrRcusr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Apr 13, 2014 at 11:36:08AM +0200, rudolf wrote: > (Please CC me the reply, I'm not subscribed to the list.) > > Hi, > > the table http://www.postgresql.org/docs/devel/static/functions-json.html#FUNCTIONS-JSON-PROCESSING-TABLE > contains two json_extract_path_text() entries, where the second > should be the jsonb variant. Fixed with the attached patch. Thanks. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + --MW5yreqqjyrRcusr Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="json.diff" diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml new file mode 100644 index 0809a6d..1759c88 *** a/doc/src/sgml/func.sgml --- b/doc/src/sgml/func.sgml *************** table2-mapping *** 10536,10542 **** json_extract_path_text(from_json json, VARIADIC path_elems text[]) ! json_extract_path_text(from_json json, VARIADIC path_elems text[]) text --- 10536,10542 ---- json_extract_path_text(from_json json, VARIADIC path_elems text[]) ! json_extract_path_text(from_json jsonb, VARIADIC path_elems text[]) text --MW5yreqqjyrRcusr Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs --MW5yreqqjyrRcusr--