Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Rolf Grossmann <grossman@securitas.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgresql.org
Date: 2000-02-24T23:39:15Z
Lists: pgsql-bugs, pgsql-hackers
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