From: Tom Lane <tgl@sss.pgh.pa.us>
To: long Allen <zl19881003@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: windows psql connection error
Date: Thu, 03 Jun 2021 10:01:54 -0400
Message-ID: <272708.1622728914@sss.pgh.pa.us> (raw)
In-Reply-To: <CAFDvuBruAEAtB47Urh8w81GSRpoXczF8xT8BnZdDnmWWNsBUYQ@mail.gmail.com>
References: <CAFDvuBruAEAtB47Urh8w81GSRpoXczF8xT8BnZdDnmWWNsBUYQ@mail.gmail.com>
long Allen <zl19881003@gmail.com> writes:
> When I execute commands "psql postgres -p 5433" in Windows, the system
> reported an error “"extra command-line argument **** ignored“.
We do not document nor support writing switches (i.e. "-p 5433") after
non-switch arguments. Some versions of getopt_long make that magically
work anyway, but others do not.
regards, tom lane
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, zl19881003@gmail.com, pgsql-bugs@lists.postgresql.org
Subject: Re: windows psql connection error
In-Reply-To: <272708.1622728914@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