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