Re: psql in bash scrpts, is possible ? - Mailing list pgsql-novice

From Alan Hodgson
Subject Re: psql in bash scrpts, is possible ?
Date
Msg-id 201006021357.45063@hal.medialogik.com
Whole thread Raw
In response to psql in bash scrpts, is possible ?  (Mariateresa L <mariateresa.ll@bresciaonline.it>)
List pgsql-novice
On Monday 31 May 2010, Mariateresa L <mariateresa.ll@bresciaonline.it>
wrote:
> Am I uber-newbie or is this a known limitation of psql ? And, in this
> case, there is something to overcome this limit and afford my non-techie
> user to launch a simple command to print her data or to bulk update
>  tables ?
>

psql options < file.sql
echo "sql command;" | psql options


--
"No animals were harmed in the recording of this episode. We tried but that
damn monkey was just too fast."

pgsql-novice by date:

Previous
From: u235sentinel
Date:
Subject: Re: Best starter book
Next
From: machielr@rdc.co.za
Date:
Subject: slony config error