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: (view raw, whole thread or download thread mbox)
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?


John McKown

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


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 fails

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