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 1rFH0O-0098Xf-LE for pgsql-admin@arkaria.postgresql.org; Mon, 18 Dec 2023 17:02:12 +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 1rFH0N-00BC6d-9v for pgsql-admin@arkaria.postgresql.org; Mon, 18 Dec 2023 17:02:11 +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 1rFH0M-00BC6V-V0 for pgsql-admin@lists.postgresql.org; Mon, 18 Dec 2023 17:02:10 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rFH0J-00B21Y-1w for pgsql-admin@lists.postgresql.org; Mon, 18 Dec 2023 17:02:09 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 3BIH24rm3973211; Mon, 18 Dec 2023 12:02:04 -0500 From: Tom Lane To: Ron Johnson cc: "David G. Johnston" , Pgsql-admin Subject: Re: pg_ctl only allows 12 parameters? In-reply-to: References: <3960907.1702915763@sss.pgh.pa.us> Comments: In-reply-to Ron Johnson message dated "Mon, 18 Dec 2023 11:31:55 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <3973209.1702918924.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Mon, 18 Dec 2023 12:02:04 -0500 Message-ID: <3973210.1702918924@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Ron Johnson writes: > On Mon, Dec 18, 2023 at 11:09 AM Tom Lane wrote: >> So, what's the platform? And are you quite sure your psql is v14? > $ psql -V > psql (PostgreSQL) 14.10 > $ postgres -V > postgres (PostgreSQL) 14.10 > $ cat /etc/redhat-release > Red Hat Enterprise Linux release 8.9 (Ootpa) > # This is a "SLES Expanded Support platform 8.9" > # The above "Red Hat Enterprise Linux Server" string is only used to > # keep software compatibility. Hmph. I'm on (genuine) RHEL 8.9, and when I tried the command you showed it seemed to work fine. So there's some important detail you've not provided. Now I'm wondering about things like invisible characters and whether you managed to type something that looks like a "-" but is really some weird unicode character. Looking at the v14 pg_ctl code, I see it has an extra level of looping around getopt_long to try to cope with implementations that don't permute the arguments. So in theory it should work as documented everywhere. But I could see how things might get confused, if the subroutine misidentifies what is a switch. regards, tom lane