Re: psql: Is it possible to run a query from a *sql file? - Mailing list pgsql-novice

From Bruno Wolff III
Subject Re: psql: Is it possible to run a query from a *sql file?
Date
Msg-id 20050502135432.GA9068@wolff.to
Whole thread Raw
In response to Re: psql: Is it possible to run a query from a *sql file?  (Ennio-Sr <nasr.laili@tin.it>)
List pgsql-novice
On Mon, May 02, 2005 at 02:38:39 +0200,
  Ennio-Sr <nasr.laili@tin.it> wrote:
> * Tom Lane <tgl@sss.pgh.pa.us> [010505, 13:24]:
>
> > rather than the other way round.  It's hard to envision a script that
> > needs user interaction and won't shortly thereafter need control
>                                                       ^^^^^^^^^^^^
> > structures etc.
>   ^^^^^^^^^^^^^^^
> Sorry! I forgot to ask it in my previous answer:
> What does that exactly mean?
> Where can I read for a better understanding?
> Regards, Ennio.

Statements that provide for conditional and repeated execution of other
statements. psql dosn't have that, but your shell almost certainly does.

pgsql-novice by date:

Previous
From: Wayne Pierce
Date:
Subject: Connection problems with "psql -h localhost postgres"
Next
From: Andreas Kretschmer
Date:
Subject: Re: [despammed] Connection problems with "psql -h localhost postgres"