pgsql: Fix pg_recvlogical to accept the documented -I instead only --st

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix pg_recvlogical to accept the documented -I instead only --st
Date: 2014-05-26 05:31:12
Message-ID: E1WonVA-0007X5-K2@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix pg_recvlogical to accept the documented -I instead only --startpos.

The bug was caused by omitting 'I:' from the short argument list to
getopt_long(). To make similar bugs in the future less likely reorder
options in --help, long and short option lists to be in the same,
alphabetical within groups, order.

Report and fix by Michael Paquier, some additional reordering by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/bf2e70ba6c0175e5a676b6aa37e49915d8918a63

Modified Files
--------------
src/bin/pg_basebackup/pg_recvlogical.c | 50 ++++++++++++++++----------------
1 file changed, 25 insertions(+), 25 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-05-27 02:23:59 pgsql: Avoid unportable usage of sscanf(UINT64_FORMAT).
Previous Message Peter Eisentraut 2014-05-26 03:22:00 pgsql: Small typo and formatting fixes in postgresql.conf.sample