Re: SimpleTee flush

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SimpleTee flush
Дата
Msg-id 22439.1440949874@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SimpleTee flush  (Kevin Grittner <kgrittn@ymail.com>)
Список pgsql-hackers
Kevin Grittner <kgrittn@ymail.com> writes:
> Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Just out of curiosity --- what's the rationale for flushing after
>> every line, rather than once at the end of the loop?

> Isn't the loop over file handles written to?

Oh... I just automatically read it as looping over some data,
not printing the same data to multiple filehandles.  That's kind of
odd ... but yeah, you would have to do it like that.
        regards, tom lane



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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: SimpleTee flush
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: Potential GIN vacuum bug