Re: windows psql connection error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: long Allen <zl19881003(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: windows psql connection error
Date: 2021-06-03 14:01:54
Message-ID: 272708.1622728914@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

long Allen <zl19881003(at)gmail(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jeff Davis 2021-06-03 18:02:56 Re: BUG #16079: Question Regarding the BUG #16064
Previous Message Ram Pratap Maurya 2021-06-03 12:53:04 RE: BUG #17046: Upgrade postgres 11 to 13 version