capturing all output of a psql command?

Поиск
Список
Период
Сортировка
От John McKown
Тема capturing all output of a psql command?
Дата
Msg-id Pine.LNX.4.21.0008230649410.29873-100000@linux2.johnmckown.net
обсуждение исходный текст
Список 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!


В списке pgsql-novice по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Build7.0.2 with perl Pg.pm fails
Следующее
От: deval
Дата:
Сообщение: Re: capturing all output of a psql command?