capturing all output of a psql command?

From: John McKown <jmckown(at)prodigy(dot)net>
To: PostgreSQL novice mailing list <pgsql-novice(at)postgresql(dot)org>
Subject: capturing all output of a psql command?
Date: 2000-08-23 11:53:02
Message-ID: Pine.LNX.4.21.0008230649410.29873-100000@linux2.johnmckown.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I know that I can use the "\o file" command in psql to redirect the output
from my SQL commands into a file. However, it appears that the error
output continues to come to my screen. I want all of the output to go to
the file, not just "stdout", but "stderr" as well. What am I overlooking?

Thanks!

John McKown

BTW - I'm having a ball with PostgreSQL! Thanks to all who have worked so
far on this excellent product!

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message deval 2000-08-23 14:58:09 Re: capturing all output of a psql command?
Previous Message Tom Lane 2000-08-23 03:26:38 Re: Build7.0.2 with perl Pg.pm fails