Calling psql from a shell script - Mailing list pgsql-interfaces

From Wayne Johnson
Subject Calling psql from a shell script
Date
Msg-id 3B3A7DEE.1FE009CE@yahoo.com
Whole thread Raw
Responses Re: Calling psql from a shell script  (Gary Stainburn <gary.stainburn@ringways.co.uk>)
List pgsql-interfaces
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 to
the results.

Is there a way to get psql to output data in quoted CSV?

TIA.


pgsql-interfaces by date:

Previous
From: "Jean-Sébastien ANDUJAR"
Date:
Subject: libpq on windows
Next
From: Gary Stainburn
Date:
Subject: Re: Calling psql from a shell script