windows psql connection error

From: long Allen <zl19881003(at)gmail(dot)com>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: windows psql connection error
Date: 2021-06-03 09:11:40
Message-ID: CAFDvuBruAEAtB47Urh8w81GSRpoXczF8xT8BnZdDnmWWNsBUYQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2021-06-03 10:50:18 BUG #17046: Upgrade postgres 11 to 13 version
Previous Message Tom Lane 2021-06-02 22:58:17 Re: BUG #17045: 14 Beta Tighten up allowed names for custom GUC parameters breaks PostgREST