Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cG4J6-0004Qt-9l for pgsql-docs@arkaria.postgresql.org; Sun, 11 Dec 2016 13:36:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cG4J4-0002AE-NK for pgsql-docs@arkaria.postgresql.org; Sun, 11 Dec 2016 13:36:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cG4J3-0002A3-6f for pgsql-docs@postgresql.org; Sun, 11 Dec 2016 13:36:45 +0000 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cG4Iu-0008PN-OJ for pgsql-docs@postgresql.org; Sun, 11 Dec 2016 13:36:44 +0000 Received: by mail-wm0-x234.google.com with SMTP id g23so26848559wme.1 for ; Sun, 11 Dec 2016 05:36:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joh-to.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=QFDuM1cX/IvJVXzFSzD4EXo/yaPhUw/StBBYfxKITBI=; b=BtWjWvCz8rHxiNV9QFX3x7r7Q3uFsblchab2iuZrMe+/3s4u1jTCYtWT/ZEsKh3cB9 HTEo/aZ0vrgiyOB/Qp5sVWoLl5aNvLbNOhfW6oSS0IMAhO7chzlpP1lhdWFLAg7vrWqL p32IGUIFiep+Og+RtP/+WGYDM/zDgNoXp3cZS+8YjGea64jMA8ty6DELZ/x0QDiTG9aM y8aqVfRuyAG3HwZuc2+k04pRYvL8Qmn5d3mj9R47pA0IB0mNvyDCtYOledUOsqMUAiaP 78IWI0M0SZOu76pzH5qbSW8iHV2f5vy/dORgTIZk9mtKSW7SIB9M1pYU7ep4RHSowduW ZaWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=QFDuM1cX/IvJVXzFSzD4EXo/yaPhUw/StBBYfxKITBI=; b=Q74Q0hNlG2nCCMsjU6OLO/d6UHhzI0Z3sg+ogHILw8vJK/MUhZqcPgybNR2rwyMg4U BUH1SjtaRGflshWXL3+tzX0y43H66BeBwI3DIgc0y2BHAyrJ6EU+XRB9C+m89yxtF9Lz GsdTHZY6vmquTtVy7ky4fZOZY+UHvidIyR6vW3o/RoEJWz4BReg7qw1G7hLTeYYV8fef Qoxrwf9GFUZaXnNVtWTNj8bH0dWRYagC1hI/7DkjBiRUvG2axprtjtkNYfJDKum+ic3T 0qgrGAIN+Ygk56Fn2Ym3grLf2nqwL88E9fH/0fb35s134OwVGbKZEtMlvZHtxynJXiEI EwFw== X-Gm-Message-State: AKaTC00a5R4EVY+sHkRwDOsaWuI9gx/hHgNERATegK1GM6mxJhh7BTjRcnl+ml39Ubz1vw== X-Received: by 10.25.24.159 with SMTP id 31mr30939765lfy.101.1481463394729; Sun, 11 Dec 2016 05:36:34 -0800 (PST) Received: from [172.20.10.2] (c-5eea2389-74736162.cust.telenor.se. [94.234.35.137]) by smtp.googlemail.com with ESMTPSA id v9sm8229640lja.0.2016.12.11.05.36.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Dec 2016 05:36:34 -0800 (PST) Subject: Re: jsonb_each_text(jsonb) returns value::jsonb, not text To: vodevsh@gmail.com, pgsql-docs@postgresql.org References: <20161209130549.1402.15836@wrigleys.postgresql.org> From: Marko Tiikkaja Message-ID: <900a67c4-762b-5386-86b4-a9537c40bc72@joh.to> Date: Sun, 11 Dec 2016 14:36:29 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161209130549.1402.15836@wrigleys.postgresql.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 2016-12-09 2:05 PM, vodevsh@gmail.com wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/9.6/static/functions-json.html > Description: > > Hi, > According to > https://www.postgresql.org/docs/current/static/functions-json.html, > "jsonb_each_text(jsonb)" returns "setof key text, value text", but if you > "pg_typeof(value)" on result it shows "jsonb". Not here: => select pg_typeof(value) from jsonb_each_text('{"foo":"bar"}'); pg_typeof ----------- text (1 row) .m -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs