Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mjuYJ-0007Zd-V1 for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Nov 2021 02:38:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mjuYF-0003X6-I2 for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Nov 2021 02:38:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mjuYF-0003Ww-9I for pgsql-hackers@lists.postgresql.org; Mon, 08 Nov 2021 02:38:27 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mjuYC-0003ef-6O for pgsql-hackers@postgresql.org; Mon, 08 Nov 2021 02:38:26 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 1A82cKa5829326; Sun, 7 Nov 2021 21:38:20 -0500 From: Tom Lane To: David Rowley cc: Justin Pryzby , Jaime Casanova , PostgreSQL-development Subject: Re: jsonb crash In-reply-to: References: <20210929185544.GB24346@ahch-to> <20211105223808.GF17618@telsasoft.com> Comments: In-reply-to David Rowley message dated "Mon, 08 Nov 2021 14:46:03 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <829324.1636339100.1@sss.pgh.pa.us> Date: Sun, 07 Nov 2021 21:38:20 -0500 Message-ID: <829325.1636339100@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk David Rowley writes: > I've now pushed the fix to restrict v14 to only allow Memoize when the > left and right types are the same. For master, since it's possible to > add a field to RestrictInfo, I've changed that to cache the left and > right hash equality operators. If you were going to push this fix before 14.1, you should have done it days ago. At this point it's not possible to get a full set of buildfarm results before the wrap. The valgrind and clobber-cache animals, in particular, are unlikely to report back in time. regards, tom lane