Re: SimpleTee flush

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: SimpleTee flush
Дата
Msg-id 212539312.1983337.1440949165381.JavaMail.yahoo@mail.yahoo.com
обсуждение исходный текст
Ответ на Re: SimpleTee flush  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: SimpleTee flush  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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?  Is there
> actual input-reading going on underneath the @$self notation?
> If it's just dumping data from process memory, I should think
> one flush would be sufficient.

Isn't the loop over file handles written to?  What would you flush
outside the loop?


--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Information of pg_stat_ssl visible to all users
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SimpleTee flush