pgsql: Fix ecpg -? option on Windows, add -V alias for --version.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix ecpg -? option on Windows, add -V alias for --version.
Date: 2016-09-18 11:11:16
Message-ID: E1bla0C-00020L-Pe@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix ecpg -? option on Windows, add -V alias for --version.

This makes the -? and -V options work consistently with other binaries.
--help and --version are now only recognized as the first option, i.e.
"ecpg --foobar --help" no longer prints the help, but that's consistent
with most of our other binaries, too.

Backpatch to all supported versions.

Haribabu Kommi

Discussion: <CAJrrPGfnRXvmCzxq6Dy=stAWebfNHxiL+Y_z7uqksZUCkW_waQ(at)mail(dot)gmail(dot)com>

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/7c177ddc291692e5c7c41279b0488936283626f7

Modified Files
--------------
src/interfaces/ecpg/preproc/ecpg.c | 47 +++++++++++++++-----------------------
1 file changed, 18 insertions(+), 29 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2016-09-19 12:56:16 Re: Re: [COMMITTERS] pgsql: Change the way that LWLocks for extensions are allocated.
Previous Message Tom Lane 2016-09-16 13:36:37 pgsql: Add debugging aid "bmsToString(Bitmapset *bms)".