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 1qohdz-002W5d-A0 for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Oct 2023 10:01:15 +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 1qohdx-005HQy-3i for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Oct 2023 10:01:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qohdw-005HQl-Nu for pgsql-hackers@lists.postgresql.org; Fri, 06 Oct 2023 10:01:13 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qohdu-000Zsx-TB for pgsql-hackers@postgresql.org; Fri, 06 Oct 2023 10:01:13 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id D454B5C024F; Fri, 6 Oct 2023 06:01:07 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 06 Oct 2023 06:01:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1696586467; x= 1696672867; bh=eu62WbneuhNwWIZwBRq3U3qdbO+dZualZTDuLlaCD7M=; b=l YRCQgX64KtXw2TbNQNXmSXf1U9Ete1M0hxffnXfN/zexh02+lYnSSbUIxsSRFt72 QndrK+6Gv3PwGkRE8s8ItYkqWCm/QI9XNojGfmfXvBfJoyYy4OZw3iZNye3MLtrG LLQ1NkDXpkoHX8i5l8gFj+MD9f2U19DinmagBa4g/mAl32BxXR6uJ9662DBRfUWk DCyeSZO3LCT4RbsgGNKOGfl1Unptm9/jfEvtfB5rxRuhKeQYxvf5cQZzdpxo7GQF O6wA78SRJms4PUedOL5taUUMH+zb6HC6mC/5inFlLk1cZmE9/Gq/e38519jC14NP 039Rsd+aJMH+0oLsH711A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrgeeigddvudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpedvkedtffduffdtffffheffhfejjefhgfeiueeukeejkeff gfdufffhudffffeuveenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 6 Oct 2023 06:01:07 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1696586465; bh=yD5OOI3++AGa79twSNTbm+iz07prsaobDMVBELyNC/Q=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=lPm3/Xy9LYDpPjJ9y50xmxwYh9TU3IV4KTaWa5VjpchuVdHJbQ18tVSNli8mChTId BM8uV2Am2nboDbtfShAzEB8X/vJW/ntJWDlfAqrkjQRDu4lubFd9TFsd1anGeFh52U ZSBJ86kSZtAr+Nok46rfb3AVSexhf0FJQ93qwYBfXIxrFs/ff5lucMOVDSuvWBmcy9 3i0AcNJFy48jc+eX0DarUhfkcx+n5ESFLLo/qFw89JCUqzS119Rwe1SbC4vWcSvxRh zf1lrTej9SYVpwnr29zw8h4PT/BWipgEX3JDR5zaBoEMU1jiYElWN+PRDgao0Ncxw4 XPl/ZHkzS9QSg== Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 528793146; Fri, 6 Oct 2023 12:01:05 +0200 (CEST) Date: Fri, 6 Oct 2023 12:01:05 +0200 From: Alvaro Herrera To: Amit Langote Cc: Andrew Dunstan , Erik Rijkers , PostgreSQL-development , jian he Subject: Re: remaining sql/json patches Message-ID: <202310061001.ndbl6o4dl3zh@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2023-Oct-06, Amit Langote wrote: > 2. Assignment of op->d.iocoerce.escontext needed to be changed like this: > > v_params[4] = l_ptr_const(op->d.iocoerce.escontext, > - > l_ptr(StructErrorSaveContext)); > + l_ptr(StructNode)); Oh, so you had to go back to using StructNode in order to get this fixed? That's weird. Is it just because InputFunctionCallSafe is defined to take fmNodePtr? (I still fail to see that a pointer to ErrorSaveContext would differ in any material way from a pointer to Node). Another think I thought was weird is that it would only crash in LLVM5 debug and not the other LLVM-enabled animals, but looking closer at the buildfarm results, I think that may have been only because you reverted too quickly, and phycodorus and petalura didn't actually run with 7fbc75b26ed8 before you reverted it. Dragonet did make a run with it, but it's marked as "LLVM optimized" instead of "LLVM debug". I suppose that must be making a difference. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "World domination is proceeding according to plan" (Andrew Morton)