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
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных