On 2000-02-24, Rolf Grossmann mentioned:
> use psql as a shell and I think it would be really cool if you could just
> write #!/path/to/psql -f to write sql scripts.
I considered that briefly, but dismissed it equally fast. psql is a shell
to the PostgreSQL backend, if you will, not to the system. It's optimized
as a batch processor and for being called from shell scripts, not for
being a programming language of it's own. (In the future it would be nice
to have a PL/Pgsql based front-end available for that sort of stuff.)
> Uhm ... my tcsh manual describes those options differently:
>
> -f The shell ignores ~/.tcshrc, and thus starts faster.
> -X Is to -x as -V is to -v.
I wasn't actually implying to have picked -X in accordance with tcsh, I
was just confused about how Tom talked about -f.
--
Peter Eisentraut Sernanders väg 10:115
peter_e@gmx.net 75262 Uppsala
http://yi.org/peter-e/ Sweden