Re: pgbench on mingw needs fflush
От | Tatsuo Ishii |
---|---|
Тема | Re: pgbench on mingw needs fflush |
Дата | |
Msg-id | 20070313.155021.112725353.t-ishii@sraoss.co.jp обсуждение исходный текст |
Ответ на | pgbench on mingw needs fflush (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>) |
Ответы |
Re: pgbench on mingw needs fflush
Re: pgbench on mingw needs fflush |
Список | pgsql-patches |
Can we distinguish mingw case from others so that we could ifdef out the extra fflush()? -- Tatsuo Ishii SRA OSS, Inc. Japan > pgbench reports its progress of loading ("N tuples done.") or vacuuming > ("vacuum...end"), but the messages are not printed on the moment on mingw. > The reason seems to be the buffering of stderr. This patch adds fflush() > just after each fprintf(stderr). > > The buffered stderr might be a bug of mingw, but redundant fflush() > does not make mischief for platforms that have correct stderr. > > Regards, > --- > ITAGAKI Takahiro > NTT Open Source Software Center
В списке pgsql-patches по дате отправления: