Re: Is psql command line interface broken on HEAD?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Is psql command line interface broken on HEAD?
Date: 2008-03-28 19:47:07
Message-ID: 13959.1206733627@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM> writes:
> When I try run psql with a option on HEAD I get following message:
> -bash-3.2$ /var/tmp/pg84_upg/bin/psql template1 -t
> psql: FATAL: role "-t" does not exist

That has never been considered supported. Some versions of getopt,
on some platforms, will rearrange the order of words on the command
line in order to make it "work" (for small values of "work" IMHO).

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2008-03-28 20:26:42 Re: [PATCHES] Implemented current_query
Previous Message Brendan Jurd 2008-03-28 19:40:46 Re: [PATCHES] Text <-> C string