Re: -U option in psql - Mailing list pgsql-hackers

From Tom Lane
Subject Re: -U option in psql
Date
Msg-id 17612.1202792672@sss.pgh.pa.us
Whole thread Raw
In response to -U option in psql  ("Jaime Casanova" <systemguards@gmail.com>)
List pgsql-hackers
"Jaime Casanova" <systemguards@gmail.com> writes:
> In 8.3.0 (windows installation) if I execute this command i get an
> error while in 8.2 i get a psql command prompt, is this a change in
> behaviour or a bug?

> H:\Archivos de programa\PostgreSQL\8.3\bin>psql template1 -U postgres
> psql: warning: extra command-line argument "postgres" ignored

Putting switches after non-switch arguments has never been supported.
On some platforms it works ... sometimes.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Jaime Casanova"
Date:
Subject: -U option in psql
Next
From: "Amit jain"
Date:
Subject: use of alias