From: Owen Jacobson <ojacobson@osl.com>
To: pgsql-sql@postgresql.org
Subject: Re: Query from shell
Date: Thu, 6 Apr 2006 14:37:51 -0700
Message-ID: <144D12D7DD4EC04F99241498BB4EEDCC28843E@nelson.osl.com> (raw)
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: ojacobson@osl.com
Subject: Re: Query from shell
In-Reply-To: <144D12D7DD4EC04F99241498BB4EEDCC28843E@nelson.osl.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox