Re: Walreceiver fsyncs excessively
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-01-13T16:31:11Z
Lists: pgsql-hackers
On 13.01.2011 14:34, Fujii Masao wrote: > On Thu, Jan 13, 2011 at 9:01 PM, Heikki Linnakangas > <heikki.linnakangas@enterprisedb.com> wrote: >> Attached patch fixes libpqrcv_receive() so that it calls PQconsumeInput() >> before concluding that there's no data available. The excessive fsyncing can >> lead to very bad performance, so this needs to be appled to 9.0 too. > > Seems good. > > Can we remove the "justconnected" flag, thanks to the patch? Yes, good point. Committed with "justconnected" removed. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com