I am writing some shell scripts that need to access Postgresql.
What is the best way to select a record and have shell variables set tothe results.
Is there a way to get psql to output data in quoted CSV?
TIA.