Re: Appending \o output instead of overwriting the output file

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Appending \o output instead of overwriting the output file
Дата
Msg-id 760.1234938633@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Appending \o output instead of overwriting the output file  ("Brent Wood" <b.wood@niwa.co.nz>)
Список pgsql-general
"Brent Wood" <b.wood@niwa.co.nz> writes:
> Using \o to redirect output to a file from the psql command line, is there any way to have the output appended to the
outputfile, rather than overwriting it? 

This is pretty grotty, but it works:

\o | cat >>target

Maybe we should provide another way in future...

            regards, tom lane

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: hi all
Следующее
От: John R Pierce
Дата:
Сообщение: Re: Strange Grant behavior in postgres 8.3