Skip site navigation (1) Skip section navigation (2)

Re: Long options for psql in 7.1.3

From: Arcady Genkin <a(dot)genkin(at)utoronto(dot)ca>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Long options for psql in 7.1.3
Date: 2001-10-05 00:13:20
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:

> >   g9genarc(at)eddie:~$ psql -h /var/pgsql --help
> >   psql was compiled without support for long options.
> >   Use --help for help on invocation options.
> >
> > I guess that it was confused by having both options at once, since
> > "psql --help" works fine (i.e. the long options *do* work).
> While this message is confusing, it's factually correct. ;-)
Yes, confusing it is.

> So --help was the next best (or even better IMHO) choice, and to support
> it on all installations we had to give it some special treatment.

That's fine, but IMO "psql -h /var/pgsql --help" and "psql --help"
should either both work, or both not work.  Of course, this is not a
huge issue, but it did make me rub my eyes (to make sure I wasn't
seeing a ghost) the first time I've encountered it. :)

Arcady Genkin

In response to


pgsql-bugs by date

Next:From: Nathan JohnsonDate: 2001-10-05 01:22:45
Subject: natural join kills postmaster
Previous:From: Peter EisentrautDate: 2001-10-04 22:36:51
Subject: Re: Long options for psql in 7.1.3

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group