capturing all output of a psql command?
capturing all output of a psql command?
От:
John McKown <jmckown@prodigy.net>
Дата:
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!
Re: capturing all output of a psql command?
От:
deval <deval@giaspn01.vsnl.net.in>
Дата:
Dear John could .... 2>&1 help? Vijay John McKown wrote: > > 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