On Sep 10, 2008, at 2:46 AM, Artacus wrote:
> Who else is doing something like this? Can psql access environmental
> variables or command line params? Or do I have to have my bash
> script write a psql script every time?
The psql \! command can execute shell commands. You can also use ``,
e.g.
=> \echo `date`
Wed Sep 10 08:07:19 EDT 2008
John DeSoi, Ph.D.