pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: Andre Lucas <andre@amazoniasistemas.com.br>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: PSQL Help
Date: Tue, 18 Feb 2020 13:37:37 +0900
Message-ID: <20200218043737.GG4176@paquier.xyz> (raw)
In-Reply-To: <32736.1581997156@sss.pgh.pa.us>
References: <20200217203834.2D6937A0211@proxy.email-ssl.com.br>
	<CAKFQuwYqfLqw-Q3fuUTACC9KKjGmwqNG0tenb7_6p+WEYQ+7OQ@mail.gmail.com>
	<32736.1581997156@sss.pgh.pa.us>

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

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (4+ messages)

Message-ID: <20200218043737.GG4176@paquier.xyz>
Permalink:  ../20200218043737.GG4176@paquier.xyz/
Also on:    postgresql.org/message-id/20200218043737.GG4176@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: michael@paquier.xyz, tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, andre@amazoniasistemas.com.br
  Subject: Re: PSQL Help
  In-Reply-To: <20200218043737.GG4176@paquier.xyz>
  References: <20200217203834.2D6937A0211@proxy.email-ssl.com.br> <CAKFQuwYqfLqw-Q3fuUTACC9KKjGmwqNG0tenb7_6p+WEYQ+7OQ@mail.gmail.com> <32736.1581997156@sss.pgh.pa.us> <20200218043737.GG4176@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox