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.96) (envelope-from ) id 1wKuMK-001Ocn-0j for pgsql-hackers@arkaria.postgresql.org; Thu, 07 May 2026 08:45:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wKuMJ-002w7g-0V for pgsql-hackers@arkaria.postgresql.org; Thu, 07 May 2026 08:45:27 +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.96) (envelope-from ) id 1wKuMI-002w7T-0a for pgsql-hackers@lists.postgresql.org; Thu, 07 May 2026 08:45:26 +0000 Received: from fhigh-a5-smtp.messagingengine.com ([103.168.172.156]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wKuMC-00000000cIG-0pNJ for pgsql-hackers@postgresql.org; Thu, 07 May 2026 08:45:24 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id EAC5F14000E9; Thu, 7 May 2026 04:45:14 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Thu, 07 May 2026 04:45:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1778143514; x=1778229914; bh=NC8Nv66VeZnR/OxD1KxkLvJxXvA5Hq61CA2fL4/AGrc=; b= GtnAv8i2hW9EJtJC/BHAGyyn5StUmfE6bfqXrU35BcUb1JbtJAnsJr8GbBBIYPHj xqATeVDtXe8KVbSAUnJqDnxSQ9qIX/zEpfpgTNhZ14QzSSbNICtFwEBgr4fXCoE3 pzhJRe53I8qjJbmPpI/tHlna/I9tJGXz2CPoYRg1ahKJomeGX2ZjKkbuJJOH6M8M Q3dH8coPbXRk1VKWYX1WJx7aSunr245dVRa5ewb/xZknkrAn1Sza6ky3fA0on1bQ ztyR+LjUerRQj1kzw+7wmldw2oTGmPTeh480JwLMd5mQDS1BRcSDGf/A2E0zg45N FojQ2EW9xl0QfVWXCKwVDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1778143514; x=1778229914; bh=N C8Nv66VeZnR/OxD1KxkLvJxXvA5Hq61CA2fL4/AGrc=; b=uUInpgyQPo3ANnSVD xVjPhjK61APZIx6m+i4QS8VccrxyEkK4HujEbYyPO0yWeXJSmfV6kk8Ef+9+ViWS 2LZoNwKXvP7CVVt5VOzB2QuYFvVlgADLG3JmYljMOgVASbO6WY+nRiMfLCWsaK/b igCs6baWCIws+USSGRHhB5PWXIwegvmELnym+syVPOHT5l9xdvNuYL7PEUBQIJm1 1xct479DyilPd/OVVr8qlTgHq4H+G1U6JBd0/N6DAn1428490lonVCNL3zlV+opB clxhDLPcMuIju9PP+UsCTjQFXth4S2aerbWUNzUtbS1kvMdjVGP/dMqPFtzwfnnu IIwyw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddutdejtdefucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeenucfhrhhomheprfgvthgvrhcu gfhishgvnhhtrhgruhhtuceophgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgqeenuc ggtffrrghtthgvrhhnpeehiedvhfeuhfeugefgfeehgeejtdevuefhtefhueefvddugfdt ueehgfefudfhffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehpvghtvghrsegvihhsvghnthhrrghuthdrohhrghdpnhgspghrtghpthhtohep fedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheprgihuhhshhhtihifrghrihdrsh hlghdtudesghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhs sehpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopegrshhhuhhtohhshhdrsggrph grthdrohhsshesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 7 May 2026 04:45:14 -0400 (EDT) Message-ID: <459ea164-aa38-43dd-8c93-dbb1063d20b5@eisentraut.org> Date: Thu, 7 May 2026 10:45:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Clean up property graph error messages To: Ayush Tiwari , PostgreSQL Hackers , Ashutosh Bapat References: Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 04.05.26 21:57, Ayush Tiwari wrote: > While looking at the SQL/PGQ property graph error paths, I noticed a > few small cleanups in propgraphcmds.c. > > The attached patch fixes a user-visible error message from "mismatching > properties names" to "mismatching property names", I have fixed that. > and moves a > ReleaseSysCache() call before an ERROR ereport in > check_element_properties(). > > The existing code should be cleaned up by > the resource owner on the ERROR path, but the explicit ReleaseSysCache() > placed after ereport(ERROR) was unreachable. I think that's fine. I don't think the change makes this better.