windows psql connection error - Mailing list pgsql-bugs

From long Allen
Subject windows psql connection error
Date
Msg-id CAFDvuBruAEAtB47Urh8w81GSRpoXczF8xT8BnZdDnmWWNsBUYQ@mail.gmail.com
Whole thread Raw
Responses Re: windows psql connection error
List pgsql-bugs
Hello:

PostgreSQL version: 12.6
Operating System: Windows Server 2012

When I execute commands "psql postgres -p 5433" in Windows, the system reported an error “"extra command-line argument **** ignored“.

The same command can be executed successfully in CentOS7  and  connect to the database.

I read the source code and found that it was getopt_long function  problem. it returns value -1. so skip the while loop.

I am not sure it's a bug or not.

regards

---
Allen

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #17045: 14 Beta Tighten up allowed names for custom GUC parameters breaks PostgREST
Next
From: PG Bug reporting form
Date:
Subject: BUG #17046: Upgrade postgres 11 to 13 version