Unix Technical Forum

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

This is a discussion on BUG #4010: psql does not honour -c after database name within the pgsql Bugs forums, part of the PostgreSQL category; --> The following bug has been logged online: Bug reference: 4010 Logged by: Jasen Betts Email address: jasne@treshna.com PostgreSQL version: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Bugs

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 12:15 PM
Jasen Betts
 
Posts: n/a
Default BUG #4010: psql does not honour -c after database name


The following bug has been logged online:

Bug reference: 4010
Logged by: Jasen Betts
Email address: jasne@treshna.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.

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://mail.postgresql.org/mj/mj_www...tra=pgsql-bugs

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 12:15 PM
Peter Eisentraut
 
Posts: n/a
Default Re: BUG #4010: psql does not honour -c after database name

Am Mittwoch, 5. März 2008 schrieb Jasen Betts:
> I used to do
>
> psql -U username database -c "some big long command"
>
> and that no longer works


Whether or not this works is determined by the operating system, not by
PostgreSQL.

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://mail.postgresql.org/mj/mj_www...tra=pgsql-bugs

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:03 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com