Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fQy8M-0005uN-6e for pgsql-general@arkaria.postgresql.org; Thu, 07 Jun 2018 16:51:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fQy8J-0006an-7N for pgsql-general@arkaria.postgresql.org; Thu, 07 Jun 2018 16:51:31 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fQy8H-0006ab-5b for pgsql-general@lists.postgresql.org; Thu, 07 Jun 2018 16:51:31 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fQy8C-0007nm-MK for pgsql-general@postgresql.org; Thu, 07 Jun 2018 16:51:27 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 84026212FE for ; Thu, 7 Jun 2018 12:51:22 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 07 Jun 2018 12:51:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=LkTufw6lBHqXKFaMAE+kHxELt1s3OEHtejEP/sd17sI=; b=H+5/hYze G+/O4/9tatKadd9s6dMJ/acvKF58o8b8xWuPgh19vosgPSH8VTkYGCQNBrJH2QqF hBJxdhz5tCwRrgTMXPDhgijlLgu9MCa+Ugq3E3OAaKQj14vBswygtBWGarWe5TGn iEuTHRPNsymqjeH5klqxsK975J1XqbX+6sRQ5W1W2qSs1wooBpV6kp5TDLh5CrMw WtXlF16DV8XRTUjpO1HHlYnCS6l1/yIftRndPlggXa4g6yQhIouH7D7mjaLwIkBS DiPmip6IhYykztr2gzFKxGJ7XfmV+tbj/XL7b7kSYf6CjqcMgxxMPRg/22EgxDdU Dn6N1/XWSlJ+XQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=LkTufw6lBHqXKFaMAE+kHxELt1s3O EHtejEP/sd17sI=; b=cOSSsf4HF6WIfctHJ/KyDCc4faFaiAzVPPRxGtWrvuBXm C8ejCgGHDYD1NpUR1Er5kduNK17YoxW5fFMwYttzVHFfmMyF6UJhrabmsaaIW8By 1wI2uCQfquDGqEyWn9qo1Bg3Snd/zllHeS/FEeEOH10JH/bqXTFEE00OKeG8OXEn 0nRfjBJNeFi8wfhDisaMGjznsaGROT2Xc3TDNpkd1Tgdv1xndMhT9SP/5Aam6FUy R5N/BkG0A7Jf/tDQPNh9ZGQv0AoGvzyoTRBvwZhiZdME0BeEDtFHt+W4/+D8jpGt moW1NRpDHTes8xZjMw+mCeCrSG4E80FYMCGnH7EoQ== X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from ranger.suse (174-21-148-202.tukw.qwest.net [174.21.148.202]) by mail.messagingengine.com (Postfix) with ESMTPA id CB53CE43E8 for ; Thu, 7 Jun 2018 12:51:21 -0400 (EDT) To: pgsql-general From: Adrian Klaver Subject: json_populate_recordset Message-ID: <2a8ae0b7-1fd4-869a-a25e-d598968898c9@aklaver.com> Date: Thu, 7 Jun 2018 09:51:20 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk From here: https://www.postgresql.org/docs/10/static/functions-json.html select * from json_populate_record(null::myrowtype, '{"a": 1, "b": ["2", "a b"], "c": {"d": 4, "e": "a b c"}}') What is the null::myrowtype doing? Thanks, -- Adrian Klaver adrian.klaver@aklaver.com