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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Appending \o output instead of overwriting the output file
Дата
Msg-id 26031.1234991766@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Appending \o output instead of overwriting the output file  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
John R Pierce <pierce@hogranch.com> writes:
> Tom Lane wrote:
>> "Brent Wood" <b.wood@niwa.co.nz> writes:
>>> Perhaps \o+ as a future fix for this?

>> I'd prefer "\o >>file" but maybe I'm too steeped in unix-isms.

> \o+ is reasonably consistent with the other \ command usages...

Not really; none of the other commands interpret + as meaning "append to
an existing file".  They tend to take it as meaning "do something *in
addition to* what you normally do", not to do something that is
significantly different from the base command.

            regards, tom lane

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

Предыдущее
От: Joey Morris
Дата:
Сообщение: Re: connecting using libpq breaks printf
Следующее
От: John R Pierce
Дата:
Сообщение: Re: When adding millions of rows at once, getting out of disk space errors