On Fri, 6 Oct 2000, Mike Sears wrote:
> Is there away to access a postgres database using a shell script, like bash
> or korn?
You can use
psql -c <query>
or
psql -f <filename>
to do command-line stuff inside of a script. But then you have to figure
out how to parse the result. You're probably better off going the next
step and using Perl.
Brett W. McCoy
http://www.chapelperilous.net
---------------------------------------------------------------------------
Imagination is more important than knowledge.
-- Albert Einstein