Re: Walreceiver fsyncs excessively - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Walreceiver fsyncs excessively
Date
Msg-id 4D2F28CF.7040607@enterprisedb.com
Whole thread Raw
In response to Re: Walreceiver fsyncs excessively  (Fujii Masao <masao.fujii@gmail.com>)
List 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


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: SSI patch version 8
Next
From: Hitoshi Harada
Date:
Subject: Re: psql crashes on encoding mismatch