On Thu, 2006-06-29 at 11:29, Jasbinder Bali wrote:
> isn't my normal bash script different from psql.
> In a bash script how wud u specify the db parameters
Look at how I'm doing it here:
> > > query="select * from sometable";
> > > a=`echo $query|psql -tq dbname`;
Note that I'm calling psql from within a bash script. So, the connection
params are the same as for psql, cause that's what I'm using.