Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group