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