Re: psql -1 -f - busted - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: psql -1 -f - busted
Date
Msg-id 1259304152.5478.0.camel@fsopti579.F-Secure.com
Whole thread Raw
In response to Re: psql -1 -f - busted  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: psql -1 -f - busted  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-bugs
On tor, 2009-11-26 at 22:59 -0500, Robert Haas wrote:
> ISTM that if you run psql with "-f -", you shouldn't expect to get an
> interactive shell.  Rather, you should expect psql to do whatever it
> normally does when given -f somefilename, except using stdin rather
> than the file.  After all, you could have left out -f altogether if
> you'd wanted the interactive behavior.  But then IJWH.

But by that logic, psql < file should also set interactive mode.

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: psql -1 -f - busted
Next
From: Guillaume Smet
Date:
Subject: Re: BUG #5216: pgFouine 1.1 not working correctly, when LC_MESSAGES is "es_ES.UTF-8"