Re: [SQL] Suggestion for psql: --file -

2001-02-03 Thread Albert REINER
On Fri, Feb 02, 2001 at 04:16:05PM +0100, Peter Eisentraut wrote: Albert REINER writes: ... P.S: BTW, the man page (7.0.2) of psql is not very clear: it took me some experimentation to find out that you have to do "\set VARIABLE" interactively or give "--set VARIABLE=" to set a variable

Re: [SQL] Suggestion for psql: --file -

2001-02-03 Thread Peter Eisentraut
Albert REINER writes: Suggested new wording? What about: Works for me. Thanks. -- Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/

Re: [SQL] Suggestion for psql: --file -

2001-02-02 Thread Peter Eisentraut
Albert REINER writes: wouldn't it be a good idea (and if it is, I am not sure what list to post it to) to have psql's option -f / --file take "-" for stdin, as many programs do? Seems reasonable. P.S: BTW, the man page (7.0.2) of psql is not very clear: it took me some experimentation to

[SQL] Suggestion for psql: --file -

2001-01-31 Thread Albert REINER
Saluton, wouldn't it be a good idea (and if it is, I am not sure what list to post it to) to have psql's option -f / --file take "-" for stdin, as many programs do? In shell scripts this would facilitate using here-documents: cat ASDF | psql --set ON_ERROR_STOP= -f - insert into a (b,c)