Re: Query from shell

From: "Owen Jacobson" <ojacobson(at)osl(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Query from shell
Date: 2006-04-06 21:37:51
Message-ID: 144D12D7DD4EC04F99241498BB4EEDCC28843E@nelson.osl.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Bricklen Anderson 2006-04-06 21:39:44 Re: Query from shell
Previous Message Judith 2006-04-06 18:37:24 Query from shell