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 1ucNKa-00CDMU-4t for pgsql-bugs@arkaria.postgresql.org; Thu, 17 Jul 2025 12:03:20 +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 1ucNKX-001qrG-67 for pgsql-bugs@arkaria.postgresql.org; Thu, 17 Jul 2025 12:03:17 +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 1ucNKW-001qr8-Tr for pgsql-bugs@lists.postgresql.org; Thu, 17 Jul 2025 12:03:17 +0000 Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1ucNKV-007kjO-2N for pgsql-bugs@lists.postgresql.org; Thu, 17 Jul 2025 12:03:16 +0000 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id 199AD140018D; Thu, 17 Jul 2025 08:03:15 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Thu, 17 Jul 2025 08:03:15 -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=1752753795; x= 1752840195; bh=azqLlmi107S5xJkqfcK1GM5HFC6xV3jUKTTbLIfkL/I=; b=V RzOvzfqvy6kGsGnMSzzlGxenLzL0/xkZjYSKngp9Uq6Fg4EK9APFDCPweX1qnunF ZXPV5/VmTjHebBTEc90JGA2rjNhmdGs2d9yA2ASmaqLBWx+jaRZOTtd1ItfYwZZR DHGWlWk7U73pxumgaDIPeP2LzEUEaWRC6FKBuWOOUQ3C9lE9NXZNdOge1f4j7XS5 0vwD7aWsyhDnpCmovoRAdVxb1grR2Gujx8D+sSNL+km4ZhFm+sTfsDKbOOBXTYhN FPt1JNCzkr23GfTvwbbQNZ9Ri+ih+e/YOPYNaPytzCWdVROmW8kd6Fp04KXh3qR2 pKGINNp2ASQ4fBAf4ytIw== 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=1752753795; x=1752840195; bh=a zqLlmi107S5xJkqfcK1GM5HFC6xV3jUKTTbLIfkL/I=; b=msYEvK5nELEtHK6bU ttnahoFb0PBCAlmEQ5qjEIhoGsEse88Sxdzx2eq1qhCiK3mM4NorWam9j4NzVHbO 7RgA/Drcd5glvcStnv+T76uNhNqFvhKNDvhMpUHwVX0H9fm3KYCBMgCCG60UnJ6q 8ArodedLK+3qWx95S4Z+3YELR2hfVaOClyrutlzoDa8pvfclMvJhggwNPH8QAcUY qgQSWkoD0vTVwrgiIVO50Um3F0/DoLtTvAEjCgfMO/V3rZDSNonFDaNN8j5p5U07 hvNHXEdBMwF4yHGK7XribT+haOppZn2mEN/0GzEwVyerc7fjI0/ru/HReGfssP9l ZV4zA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeitdehfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpemllhhvrghrohcu jfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgeskhhurhhilhgvmhhurdguvgeqnecuggftrf grthhtvghrnheptdehhedtkeffffetfeekhffhffegtefhjeekveeuveduuedugeffleei veffheefnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomhdpphhoshhtgh hrvghsqhhlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomheprghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvpdhnsggprhgtphhtth hopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegvgigtlhhushhiohhnsehg mhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqsghughhssehlihhsthhsrdhpoh hsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehmihgthhgrvghlsehprghquhhivghr rdighiiipdhrtghpthhtohepthhglhesshhsshdrphhghhdrphgrrdhush X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 17 Jul 2025 08:03:14 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1752753792; bh=gihHd0lJt4FXJRPJJ+W9qg4kH8kdVLo3mTdzS+jj5nM=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=CymHvaYBLK3IZjax0m4WfIpBolg2YEBO+ZfLrEHOoNGZmYS2Jb40QOtmnEkEtRCZ/ yXxDxBamwEpOGcDjrc4o86CntgxxssBko94GRPer4xLHbXjPgICr1u1kbaRSnLE0ls +cPcSRRGy2ULSlsgijFnMYYqteyIbRe6pJz03T1rB5SJ84kj6bgd1yYZ9gQX8uLHAy VxgArIKIruke0sMkkI6e6YCTvjLV+dzgrEa1VwdduONweVbM84l23yN2WLOvYRPqBB tN1H7n9aPSxdPpDxymsAlgsatselrGy2rYpc+IDWgXK20aqrnpys0UDm9lPA1dJ41+ Vwfg0MteIrKFA== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 0546490; Thu, 17 Jul 2025 14:03:11 +0200 (CEST) Date: Thu, 17 Jul 2025 14:03:11 +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: <202507171203.y6yp2n25fk6f@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <905237.1752591474@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-Jul-15, Tom Lane wrote: > I might write the replacement comment more like > > * If query completion data is requested and not yet filled in, > * and the portal has a default command tag, copy it from there. > * See QueryRewrite(), step 3, for motivation. I've been wondering what does the "a default command tag" mean there. I couldn't find a reference for a command tag being default. Would it work to say "... and the portal has acquired a command tag [during execution above?], ..." ? Thanks, -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "Once again, thank you and all of the developers for your hard work on PostgreSQL. This is by far the most pleasant management experience of any database I've worked on." (Dan Harris) http://archives.postgresql.org/pgsql-performance/2006-04/msg00247.php