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 1tkNNh-003Kib-Lc for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Feb 2025 13:11:22 +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 1tkNNg-00AALA-17 for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Feb 2025 13:11:20 +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 1tkNNe-00AAL1-NS for pgsql-hackers@lists.postgresql.org; Tue, 18 Feb 2025 13:11:19 +0000 Received: from fout-a3-smtp.messagingengine.com ([103.168.172.146]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tkNNb-001WBY-0B for pgsql-hackers@postgresql.org; Tue, 18 Feb 2025 13:11:17 +0000 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.phl.internal (Postfix) with ESMTP id 8C7C91380A35; Tue, 18 Feb 2025 08:11:13 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-12.internal (MEProxy); Tue, 18 Feb 2025 08:11:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ilmari.org; h=cc :cc: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=1739884273; x=1739970673; bh=Bt6hELOO1C ivdWAwwAzEUBFsdvZE4Qm8XqAY37JGd+I=; b=XjcN1mbXWZTKpu7pC1kqO4oSKd w9ccdGzbF66/GIeQETfucBDXsfCwv+5Lc33S99VP4ZMxcOgcTpgDgIrdqnNrSRVK PqzvPpiMnye2ipVouRO2LC7MT+1Cgf7V+jqEdSLw1PI/EcxP/AuEI2cGccTuVTvc b8yNaAh8CaRqYLafvGZHm81rujaRyrVKS+bFp/wDr7ZyK8GSKhTajjhonmxNWUR5 jSAUC1FQHNEjbBbro3sONJOKR29V3CggOXAvb9X8Us60q2hHacPsoyvDqT2j3/SL HgI3X6vqgjtherw5zl3usrD2Z/7YCABYrqPqqIfhAG3y+a8/rlTjf5OV9szA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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= 1739884273; x=1739970673; bh=Bt6hELOO1CivdWAwwAzEUBFsdvZE4Qm8XqA Y37JGd+I=; b=Q8mQlx4pTzxeA6ZYzwq2FnkiG6MXQpy5QbE+Z3UeOfmX17sytZs rGGzxrIScgzMTkvinLwvjmA/4vyMyKsVPTVX7/qotx8SY/4qgKMl/OhWRtKlvlta YPto7KLqXLd4MQ/WIg0JqYTRhAWBOkDH4yiRFISWV163qMvA9y6zrNJcWmza6fsY V00ipXOj89hhpZEq3z2gWItfGlUAGDE03nkofgTCA/eh1Hc4ZWgZaOzfS+Bt/iWP uysFBv+l8OUj960vL3iTfUqlyCT/ukfcWsqSwylOdby+AY1lIi0CHlGdVinzxgTK XmdW4F23MXpv8oS+H3KVi/vfwt0nLFWkj2g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeiudeflecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefhvfevufhfffgjkfgfgggtsehttdertddtreej necuhfhrohhmpeffrghgfhhinhhnucfklhhmrghrihcuofgrnhhnshonkhgvrhcuoehilh hmrghrihesihhlmhgrrhhirdhorhhgqeenucggtffrrghtthgvrhhnpeekleejueefhfff kefhkedtfeeluedvieeihfehfeeffeeggeduffduheejjeeigfenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehilhhmrghrihesihhlmhgrrhhi rdhorhhgpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuthdprhgtphhtth hopehpghhsqhhlqdhhrggtkhgvrhhssehpohhsthhgrhgvshhqlhdrohhrghdprhgtphht thhopehjrghpihhnlhhisehhohhtmhgrihhlrdgtohhmpdhrtghpthhtohepmhhitghhrg gvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Feedback-ID: i1ff147bf:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 18 Feb 2025 08:11:12 -0500 (EST) From: =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= To: Michael Paquier Cc: Japin Li , Pg Hackers Subject: Re: test_escape: invalid option -- 'c' References: Date: Tue, 18 Feb 2025 13:11:11 +0000 In-Reply-To: (Michael Paquier's message of "Tue, 18 Feb 2025 12:46:50 +0900") Message-ID: <87y0y31jps.fsf@wibble.ilmari.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier writes: > On Tue, Feb 18, 2025 at 11:12:13AM +0800, Japin Li wrote: >> When I test test_escape, I find the usage of test_escape declares it >> support -c option, however, when I use it, it complains it is an >> invalid option. >> >> Here is a patch to fix it. > > You are right, obviously. The only reason why this is not showing up > is that the TAP test uses the long option --conninfo. This was something I did consider when porting the tests to use long options: should we leave (or add) at least one usage of every corresponding shor option, for exactly this reason? > Speaking of which, this had better use fat commas to combine the > option/value pairs in these commands. I have a local branch which converts more of the tests to the long and fat style, I'll try to finish that up for submission soon, and look at adding/retaining coverage for short options. - ilmari