Re: Sync Rep for 2011CF1

Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>

From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Simon Riggs <simon@2ndquadrant.com>, Fujii Masao <masao.fujii@gmail.com>, pgsql-hackers@postgresql.org
Date: 2011-02-16T17:34:59Z
Lists: pgsql-hackers
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().

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com