Mike Sears writes:
> Is there away to access a postgres database using a shell script, like bash 
> or korn?
There's pgbash, which might be what you want, but I've never tried it.  
Of course psql works as well.  Processing several output rows with more
than one field might pose a problem in any case.
-- 
Peter Eisentraut      peter_e(at)gmx(dot)net       http://yi.org/peter-e/