Re: [GENERAL] Suggested "minor" change to psql

Moray McConnachie <moray.mcconnachie@computing-services.oxford.ac.uk>

From: Moray McConnachie <moray.mcconnachie@computing-services.oxford.ac.uk>
To: Mark Dalphin <mdalphin@amgen.com>
Cc: pgsql-general@postgresql.org
Date: 1999-12-08T19:06:15Z
Lists: pgsql-hackers
What's wrong with pgsql -d xxxx -c '\i myschema' > databaseload.logfile ?

Seems to work OK for me. 

You can always use the 2>&1 syntax to redirect STDERR to STDOUT as well.

Yours,
Moray