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. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs