Re: -U option in psql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jaime Casanova" <systemguards(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: -U option in psql
Date: 2008-02-12 05:04:32
Message-ID: 17612.1202792672@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Jaime Casanova" <systemguards(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit jain 2008-02-12 05:19:32 use of alias
Previous Message Jaime Casanova 2008-02-12 04:57:59 -U option in psql