pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ron Johnson <ronljohnsonjr@gmail.com>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: pg_ctl only allows 12 parameters?
Date: Mon, 18 Dec 2023 12:02:04 -0500
Message-ID: <3973210.1702918924@sss.pgh.pa.us> (raw)
In-Reply-To: <CANzqJaC=pY4fOLkNjVsGxm4w2C=h=KR7ndLRY4f9aEEKKuQiNA@mail.gmail.com>
References: <CANzqJaDCagH5wNkPQ42=Fx3mJPR-YnB3PWFdCAYAVdb9=Q+t-A@mail.gmail.com>
	<CAKFQuwbBvswquRFOZBeXSa5qvwBwmWvzNedPTP3JOBvzBo48TA@mail.gmail.com>
	<CANzqJaAL5OpkujQzDSgN5HWamWeOVcaL39cAgW_JoW+YKu5Ziw@mail.gmail.com>
	<CAKFQuwb=Qo49SpcA6obmA2xtjV3Nc8mxPkhsyoxKFJbTWA_ngg@mail.gmail.com>
	<CANzqJaCSpziN3onfthDgy02hGWF_mvLLcZCzNttw2_jmbp4++A@mail.gmail.com>
	<3960907.1702915763@sss.pgh.pa.us>
	<CANzqJaC=pY4fOLkNjVsGxm4w2C=h=KR7ndLRY4f9aEEKKuQiNA@mail.gmail.com>

Ron Johnson <ronljohnsonjr@gmail.com> writes:
> On Mon, Dec 18, 2023 at 11:09 AM Tom Lane <tgl@sss.pgh.pa.us> 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





view thread (11+ messages)  latest in thread

Message-ID: <3973210.1702918924@sss.pgh.pa.us>
Permalink:  ../3973210.1702918924@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3973210.1702918924@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ronljohnsonjr@gmail.com, david.g.johnston@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: pg_ctl only allows 12 parameters?
  In-Reply-To: <3973210.1702918924@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox