BUG #4010: psql does not honour -c after database name

From: "Jasen Betts" <jasne(at)treshna(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #4010: psql does not honour -c after database name
Date: 2008-03-05 00:20:51
Message-ID: 200803050020.m250Kp3J005416@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 4010
Logged by: Jasen Betts
Email address: jasne(at)treshna(dot)com
PostgreSQL version: 8.3.0 (win32)
Operating system: XP pro
Description: psql does not honour -c after database name
Details:

I notice psql is now enforcing the argument ordering that is documented in
the --help blurb

Is that considered a feature

I used to do

psql -U username database -c "some big long command"

and that no longer works :(

I guess this usage is going against the documented command-line format.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jasen Betts 2008-03-05 00:32:54 BUG #4011: spelling mistake in comments
Previous Message Laurent Birtz 2008-03-05 00:17:51 LISTEN/NOTIFY race condition?