pgsql: Remove ancient -X options to pg_dump, pg_dumpall, pg_restore.

Started by Robert Haasover 15 years ago3 messagescomitters
Jump to latest
#1Robert Haas
robertmhaas@gmail.com

Remove ancient -X options to pg_dump, pg_dumpall, pg_restore.

The last version in which these options were documented is now EOL, so
it's time to get rid of them for real. We now use GNU-style long
options instead.

Branch
------
master

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

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 25 +------------------------
src/bin/pg_dump/pg_dumpall.c | 24 ------------------------
src/bin/pg_dump/pg_restore.c | 25 +------------------------
3 files changed, 2 insertions(+), 72 deletions(-)

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Robert Haas (#1)
Re: pgsql: Remove ancient -X options to pg_dump, pg_dumpall, pg_restore.

Robert Haas <rhaas@postgresql.org> writes:

Remove ancient -X options to pg_dump, pg_dumpall, pg_restore.
The last version in which these options were documented is now EOL, so
it's time to get rid of them for real. We now use GNU-style long
options instead.

It looks like you forgot to remove 'X:' from the getopt calls.

regards, tom lane

#3Robert Haas
robertmhaas@gmail.com
In reply to: Tom Lane (#2)
Re: pgsql: Remove ancient -X options to pg_dump, pg_dumpall, pg_restore.

On Fri, Mar 18, 2011 at 9:05 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

Robert Haas <rhaas@postgresql.org> writes:

Remove ancient -X options to pg_dump, pg_dumpall, pg_restore.
The last version in which these options were documented is now EOL, so
it's time to get rid of them for real.  We now use GNU-style long
options instead.

It looks like you forgot to remove 'X:' from the getopt calls.

Good catch, thanks.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company