Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tbOIa-00AN2W-Sa for pgsql-committers@arkaria.postgresql.org; Fri, 24 Jan 2025 18:20:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tbOIZ-00GJlJ-Kw for pgsql-committers@arkaria.postgresql.org; Fri, 24 Jan 2025 18:20:55 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tbOIZ-00GJlA-E0 for pgsql-committers@lists.postgresql.org; Fri, 24 Jan 2025 18:20:55 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tbOIW-001JAN-2x for pgsql-committers@lists.postgresql.org; Fri, 24 Jan 2025 18:20:54 +0000 Received: from gemulon.postgresql.org ([2001:4800:3e1:1::198]) by mahout.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tbOIW-00A2Ot-M1 for pgsql-committers@lists.postgresql.org; Fri, 24 Jan 2025 18:20:52 +0000 Received: from localhost ([127.0.0.1] helo=gemulon.postgresql.org) by gemulon.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tbOIV-003JUs-MO for pgsql-committers@lists.postgresql.org; Fri, 24 Jan 2025 18:20:51 +0000 Content-Type: multipart/mixed; boundary="===============9065259635462784980==" MIME-Version: 1.0 From: Tom Lane To: pgsql-committers@lists.postgresql.org Subject: pgsql: Make jsonb casts to scalar types translate JSON null to SQL NULL X-Auto-Response-Suppress: All Auto-Submitted: auto-generated Message-Id: Date: Fri, 24 Jan 2025 18:20:51 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --===============9065259635462784980== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 TWFrZSBqc29uYiBjYXN0cyB0byBzY2FsYXIgdHlwZXMgdHJhbnNsYXRlIEpTT04gbnVsbCB0byBT UUwgTlVMTC4KCkZvcm1lcmx5LCB0aGVzZSBjYXNlcyB0aHJldyBhbiBlcnJvciAiY2Fubm90IGNh c3QganNvbmIgbnVsbCB0byB0eXBlCjx3aGF0ZXZlcj4iLiAgVGhhdCBzZWVtcyBsZXNzIHRoYW4g aGVscGZ1bCB0aG91Z2guICBJdCdzIGFsc28KaW5jb25zaXN0ZW50IHdpdGggdGhlIGJlaGF2aW9y IG9mIHRoZSAtPj4gb3BlcmF0b3IsIHdoaWNoIHRyYW5zbGF0ZXMKSlNPTiBudWxsIHRvIFNRTCBO VUxMLCBhcyBkbyBzb21lIG90aGVyIGpzb25iIGZ1bmN0aW9ucy4KCkRpc2N1c3Npb246IGh0dHBz Oi8vcG9zdGdyLmVzL20vMzg1MTIwMy4xNzIyNTUyNzE3QHNzcy5wZ2gucGEudXMKCkJyYW5jaAot LS0tLS0KbWFzdGVyCgpEZXRhaWxzCi0tLS0tLS0KaHR0cHM6Ly9naXQucG9zdGdyZXNxbC5vcmcv cGcvY29tbWl0ZGlmZi9hNTU3OWE5MGFmMDU4MTRlYjVkYzJmZDVmNjhjZTgwMzg5OWQyNTA0CgpN b2RpZmllZCBGaWxlcwotLS0tLS0tLS0tLS0tLQpzcmMvYmFja2VuZC91dGlscy9hZHQvanNvbmIu YyAgICAgICB8IDc3ICsrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKy0tLS0Kc3JjL3Rl c3QvcmVncmVzcy9leHBlY3RlZC9qc29uYi5vdXQgfCA2NiArKysrKysrKysrKysrKysrKysrKysr KysrKysrKysrCnNyYy90ZXN0L3JlZ3Jlc3Mvc3FsL2pzb25iLnNxbCAgICAgIHwgMTMgKysrKysr KwozIGZpbGVzIGNoYW5nZWQsIDE0OSBpbnNlcnRpb25zKCspLCA3IGRlbGV0aW9ucygtKQoK --===============9065259635462784980==--