| От | Tom Lane |
|---|---|
| Тема | Re: SimpleTee flush |
| Дата | |
| Msg-id | 21683.1440948487@sss.pgh.pa.us обсуждение |
| Ответ на | SimpleTee flush (Kevin Grittner <kgrittn@ymail.com>) |
| Ответы |
Re: SimpleTee flush
|
| Список | pgsql-hackers |
Kevin Grittner <kgrittn@ymail.com> writes:
> I find the TestLib.pm framework to be more friendly with the
> attached tweak to SimpleTee.pm. It's not a big deal, so if anyone
> objects I'll let it drop, and I don't think it merits anything
> fancier.
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.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера