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 1ucQqb-00CsUk-T6 for pgsql-bugs@arkaria.postgresql.org; Thu, 17 Jul 2025 15:48:38 +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 1ucQqZ-003vnT-U5 for pgsql-bugs@arkaria.postgresql.org; Thu, 17 Jul 2025 15:48:36 +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 1ucQqZ-003vnL-3n for pgsql-bugs@lists.postgresql.org; Thu, 17 Jul 2025 15:48:36 +0000 Received: from fhigh-a2-smtp.messagingengine.com ([103.168.172.153]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1ucQqW-008HPu-2o for pgsql-bugs@lists.postgresql.org; Thu, 17 Jul 2025 15:48:35 +0000 Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfhigh.phl.internal (Postfix) with ESMTP id A7BB01400151; Thu, 17 Jul 2025 11:48:30 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-09.internal (MEProxy); Thu, 17 Jul 2025 11:48:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kurilemu.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to; s=fm1; t=1752767310; x= 1752853710; bh=t91PkM/xQMMVWg5q49jjjIUwI8GTmArZAx4XgyKEPgg=; b=n JSET0kVOpT9zYP56st41/AegDemtShAFR9JjqJHJhVzTNtZD7N4Z4lXSNcD0FZmI YawM/W1rdjUHbHeVEwqGQi6FcrfGLFY0rk+rykz72cXou88dOV+x43dsj4HsHWkz Pgu+ToK+n7CVlfUBtIfymi4NydJ9RBCsN25wL6nlOdPSLOWXslKvHnGI13x/7kPL USNgDtwZzZYSlASB61fExKdZpu7SzCWtQ+wglCH/MLXW2q0L9ylPB9SImfIwZ78j eEGjqtHbYykkQe6zpcnW3YAezwSfqF26ewLyAOtUrAhwxxcehRwMvdXw8FbR2wyv WCx7PPieoXHd5cGXLXB2Q== 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:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1752767310; x=1752853710; bh=t 91PkM/xQMMVWg5q49jjjIUwI8GTmArZAx4XgyKEPgg=; b=dzPqrPdgR+qsawXX8 q/3c4HkcP1uTPPyrrFYGEDssbULzQIFAP913LLyXIm6sWsP4oGhcJwFyLA52bIOo v+0jxIAsC5P/yh0fWsT2rmA/CC1Qb5j3Y5mQz8VptMKEO6kPFj0+iooRZTZWs2ln cEIOKlGxGIm8pLt+r5ZvVveBLVHuNq47Hr13BdLg5BcibynH6egy2SFzqNmO08np rodoMYiU2y0wvSo03v0Q56f6b4xblUo0X9qEQwFAi9IyyV+1/EQBufvysaMaFq0n DOtOREcQPPr8ECiYCl1mhbDG1vzrfKy/ITTxeIsRzyKYhG0KsZELLvspEJbZ6OoE NLQcw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeitdelkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpemllhhvrghrohcu jfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgeskhhurhhilhgvmhhurdguvgeqnecuggftrf grthhtvghrnhepteeuvdehffekvefgueehveetveekgfegtddtueefueehuddutdfhfeff hfejfeffnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomhenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhrvges khhurhhilhgvmhhurdguvgdpnhgspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouh htpdhrtghpthhtohepvgigtghluhhsihhonhesghhmrghilhdrtghomhdprhgtphhtthho pehpghhsqhhlqdgsuhhgsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhgpdhrtg hpthhtohepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidprhgtphhtthhopehtghhl sehsshhsrdhpghhhrdhprgdruhhs X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 17 Jul 2025 11:48:29 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1752767307; bh=LPvsLxv3V6fkxp03cH58LNnQgxBYIanOvJTEg+SFnpI=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=RjMmHTqvZqCXED+oh4jVIkvQyenmvVmz5hvJx3eGrPFNwPxqJoWgs5f/97he2HPIn K2Hco48U/WBHO1eNdeA1BL9qOaPKR6i7GSMt+iMzag4X4IFDJXvpqFGG3WfYY68aYm gePoqYBYSwXlNljI4CadGeLq7Uzfp6JlGe3VjLjAcB4v5KaRcIAKACJYdleQ0VuQ9t L8U0lO4/qSiFizobJHKzIoHkw8twJoVVXyiGv9WMjYm1B5GiGLIwK3+9lIzJjneDXx /ivCo2lihHn8QFS5f1lqweFznrXfpNdToCozdzDwV4iqJweydJjc9fct+Am3qJqm45 cQI4fQQEM0DKw== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 64E978D; Thu, 17 Jul 2025 17:48:27 +0200 (CEST) Date: Thu, 17 Jul 2025 17:48:27 +0200 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Tom Lane Cc: Michael Paquier , exclusion@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18984: Empty prepared statement from psql \parse triggers assert in PortalRunMulti Message-ID: <202507171548.vxoce4gnxrid@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1409149.1752764456@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-Jul-17, Tom Lane wrote: > So rather than using the word "default", maybe like > > * If a command tag was requested and we did not fill in a > * run-time-determined tag above, copy the parse-time tag > * from the Portal. (There might not be any tag there either, > * in edge cases such as empty prepared statements. That's OK.) Oh yeah, this seems very clear. Pushed that way, thanks. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "Oh, great altar of passive entertainment, bestow upon me thy discordant images at such speed as to render linear thought impossible" (Calvin a la TV)