Re: [GENERAL] Suggested "minor" change to psql - Mailing list pgsql-general

From Otavio Exel
Subject Re: [GENERAL] Suggested "minor" change to psql
Date
Msg-id 19991209235337.F26171@economatica.com.br
Whole thread Raw
In response to RE: [GENERAL] Suggested "minor" change to psql  (Michael J Davis <michael.j.davis@tvguide.com>)
List pgsql-general
Michael J Davis wrote:

> Try:
>
>     psql < mySchema.sql >& myOutput 2> myOutput.err

or (assuming you use bash)

     psql < mySchema.sql > myOutput 2>&1

to have stdout & stderr together and 'in sync' sent to myOutput

beers,

--
Otavio Exel /<\oo/>\ oexel@economatica.com.br

pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [GENERAL] Suggested "minor" change to psql
Next
From: "Derricutt, Mark"
Date:
Subject: Result Sets from INSERT/DELETE queries