Re: Query from shell - Mailing list pgsql-sql

From Owen Jacobson
Subject Re: Query from shell
Date
Msg-id 144D12D7DD4EC04F99241498BB4EEDCC28843E@nelson.osl.com
Whole thread Raw
In response to Query from shell  (Judith <jaltamirano@correolux.com.mx>)
Responses Re: Query from shell  (Bricklen Anderson <banderson@presinet.com>)
Re: Query from shell  (kevin.kempter@dataintellect.com)
Re: Query from shell  ("Jim Buttafuoco" <jim@contactbda.com>)
List pgsql-sql
Judith wrote:

>        Hi every body, somebody can show me hot to execute a
> query from a shell

echo QUERY HERE | psql databasename

Or, if you want to run several queries, run psql and run your queries there.


pgsql-sql by date:

Previous
From: Judith
Date:
Subject: Query from shell
Next
From: Bricklen Anderson
Date:
Subject: Re: Query from shell