Re: PSQL Help - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: PSQL Help
Date
Msg-id 20200218043737.GG4176@paquier.xyz
Whole thread Raw
In response to Re: PSQL Help  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Mon, Feb 17, 2020 at 10:39:16PM -0500, Tom Lane wrote:
> FWIW, Andres' example *will* work on some platforms, because glibc's
> getopt_long() takes it upon itself to rearrange the arguments.
> But it doesn't work everywhere, which is why we only document/recommend
> the stricter argument order.

This is actually the case of our fallback implementation used for
example on Windows with MSVC builds.  This led to fixes in our
regression tests like c67a86f, so we avoid this style as much as
possible on portability's ground.
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: Hazuki Amamiya
Date:
Subject: Re: Possible memory leak in PostgreSQL 12.2 on truncate, insert ordelete when type interval is involved
Next
From: "Laxminarayan, Sudhanva"
Date:
Subject: Not able to run query/scripts on our Postgre instance which is on cloud foundry