Re: Sync Rep for 2011CF1
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Simon Riggs <simon@2ndquadrant.com>, Fujii Masao <masao.fujii@gmail.com>, pgsql-hackers@postgresql.org
Date: 2011-02-16T17:43:13Z
Lists: pgsql-hackers
On Wed, Feb 16, 2011 at 12:34 PM, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> wrote: > On 16.02.2011 19:29, Robert Haas wrote: >> >> Actually, on further reflection, I'm not even sure why we bother with >> the fsync. It seems like a useful safeguard but I'm not seeing how we >> can get to that point without having fsync'd everything anyway. Am I >> missing something? > > WalRcvDie() is called on error. For example, if the connection dies > unexpectedly during walrcv_receive(). Ah, OK. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company