Re: windows psql connection error - Mailing list pgsql-bugs

From Tom Lane
Subject Re: windows psql connection error
Date
Msg-id 272708.1622728914@sss.pgh.pa.us
Whole thread Raw
In response to windows psql connection error  (long Allen <zl19881003@gmail.com>)
Responses Re: windows psql connection error
List pgsql-bugs
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



pgsql-bugs by date:

Previous
From: David Rowley
Date:
Subject: Re: BUG #17046: Upgrade postgres 11 to 13 version
Next
From: Michael Paquier
Date:
Subject: Re: windows psql connection error