Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hX9Qm-0007ly-1H for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Jun 2019 19:12:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hX9Qk-0005BO-N5 for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Jun 2019 19:12:38 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1hX9Qk-0005BH-FJ for pgsql-bugs@lists.postgresql.org; Sat, 01 Jun 2019 19:12:38 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hX9Qi-0003Ro-F7 for pgsql-bugs@lists.postgresql.org; Sat, 01 Jun 2019 19:12:38 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 4F89120EAA; Sat, 1 Jun 2019 15:12:35 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 01 Jun 2019 15:12:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=cFOd0TFbI7ZL3DD+QTJgmHucbu2 V82n047vu7KXdh0A=; b=q3UiL1YzFB8DCDBaCO8ZdDFuoWutaEL/SKYTKj+e0CW kOMNIIDhQLZ5TRmAo1j7ZVeLPf4ew1NDQp/FJ3qnY4JU5whXLcbl3iYfm10/SSVH 778Fh6qQxKME3Xyt8P4qtSY/Ip/nJYA6roLeb8659a0Av4MSwZFMhTt5A94jFM0T 74nxW/MuEa1KH/44wJCIOHQ9sdxwGLtN/UiALpjMvFcgEGeFUUagWPW3hl7KDJbU I8VjzkHA4l5C3wlkc85z0PuYSQ20jTobvksRL5KwsDWJGKwNgx9Fr1BoA8EiM1Yy ntxLZFg2usQ/nHbjarF1jFF7Uept3k6OO5UDv7vbq+w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=cFOd0T FbI7ZL3DD+QTJgmHucbu2V82n047vu7KXdh0A=; b=Aq/vy4J1cixQcIE5RgDzil QHhaL1Osr1hmlT4NIf9HwZVj3oMeEvnlKEFkTYZrb2L/fuJLkN7LZ9if4PuO0frd 584IY44x7wmdYXF3d9Njf+2B/JJVfB82YbRiTtZzZ/sn6EsvMcG4nM5Grmk3CrNy BEId1Xdj1IX9vkC6vjH5o/R3GjkjhJNOsL/IeNxKDNLgPvatp8VTE+Yz5F+P8dKF mTTOSE/cZVG+BFeXa46PeLqifIVYmCnSiO3MntEGdm6kC1OxkmDcE+65oMkQDvrX +pfAp6vRTZyMM78zrpJMMmeF4r5dsbSR+LG2IR50FIgc+uvgKbmXlxeTxnSDiwdQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudeffedgudefkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculdefhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecukfhppedvtdegrddvfeelrddvhedurdehudenucfrrghr rghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiienucevlh hushhtvghrufhiiigvpedt X-ME-Proxy: Received: from paquier.xyz (unknown [204.239.251.51]) by mail.messagingengine.com (Postfix) with ESMTPA id 123F8380084; Sat, 1 Jun 2019 15:12:34 -0400 (EDT) Date: Sat, 1 Jun 2019 15:12:32 -0400 From: Michael Paquier To: Jeff Janes Cc: Robert Vollmert , pgsql-bugs@lists.postgresql.org Subject: Re: inconsistent behaviour of json_to_record and friends with embedded json Message-ID: <20190601191232.GD1905@paquier.xyz> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vKFfOv5t3oGVpiF+" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --vKFfOv5t3oGVpiF+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 01, 2019 at 03:06:27PM -0400, Jeff Janes wrote: > This is caused by commit: >=20 > commit cf35346e813e5a1373f308d397bb0a8f3f21d530 > Author: Andrew Dunstan > Date: Thu Apr 6 22:11:21 2017 -0400 >=20 > Make json_populate_record and friends operate recursively >=20 >=20 > As far as I can tell, this was not an intended change, so I agree it is > probably a bug. Thanks for digging into this one. I have read through quickly at the conference, and indeed it smells like a bug. I'll try to look at that asap, which is not before a couple of days unfortunately. -- Michael --vKFfOv5t3oGVpiF+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlzyziAACgkQnvQgOdby QH1oIRAAoGaL9OmfnTGgn0S8RJ8WNgfiI3ErssteCo7Fzim0m5QFVyX9B7n2cpj0 oODOkTu/up7jgv/0tIAk5ugdcT0F9JVRz8HUGwIpP/Pz2DQg6ADyyONzpqfTcnwq fWTBrUdm6wiQ5LDj69xvx1Yznt5wRuX9o6D65ikWPqKEf92Kxw7PUJUtyJN8VWR0 D/cZJFlzTwjmuCk3sScYy5np7hP8EmXnp3PEHB8ilKrtUJXVa+hhk9bC46iFTmac x2MVzopTzfl1h2FOaGxnwwJJmHQDEkBSUoBJZDhd8DYo2EzsdjXg/XgXtJcJbm0F zvnkZ2bNHvRqZz6D4KjfYZzQuG7mH2uyqPAl2lO3NvWUubovKzmjBiDZOUWoR1WH UrBndQvFxDKY5idO203CGWn6FV+2bPTgOp01CugrtOA/3TVYvYYQBSUccW5iZv9d uhWJQyflkqekeO3mOQS6preZ+6+kM7sVsBrnhJakmjLBtylODAEgwjIn5oAh4qiu SFmOZMcprFSLFXU/PzCaGvlKVGgLfZmvKzFBTGqq8797cIBcKbUT3JuGVdomrFu/ oWgEnV+mwrwOd/OTDoKovR0T8YjpQjyNdj1852oRS+8b+su7no39a/ZJmwrPkxYu /jM8yExmJYSXP+pA0WkTm6aSAKwOCHabRHDqvC14mIHwrENrv+8= =Wmya -----END PGP SIGNATURE----- --vKFfOv5t3oGVpiF+--