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

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 (view raw or flat)
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

pgsql-hackers by date

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

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