pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: Fujii Masao <masao.fujii@gmail.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Sync Rep for 2011CF1
Date: Wed, 16 Feb 2011 19:34:59 +0200
Message-ID: <4D5C0AC3.1010101@enterprisedb.com> (raw)
In-Reply-To: <AANLkTikyW6GX3Mh2qTN=SfoQ=N10oWS3FHcKPp9OKCNa@mail.gmail.com>
References: <1295127631.3282.100.camel@ebony>
	<AANLkTikbV8afeeC6-iESC4myeR5BUzg-YnTqCvKJ3qcO@mail.gmail.com>
	<AANLkTikUxTM+6EaZ8S_OteDzCXaccsPVsd1U_ZUzM5i0@mail.gmail.com>
	<4D543723.9050101@enterprisedb.com>
	<AANLkTinF=DLP20ZJ57mkVa4ofTVLBMYn+pcRsqFMXK-=@mail.gmail.com>
	<AANLkTi=boSWVHgjS6EQSOV9K0y_7gokPzS5vj965NT_A@mail.gmail.com>
	<1297870600.1747.30144.camel@ebony>
	<4D5BEFF9.6020906@enterprisedb.com>
	<1297873941.1747.30561.camel@ebony>
	<AANLkTikyW6GX3Mh2qTN=SfoQ=N10oWS3FHcKPp9OKCNa@mail.gmail.com>

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



view thread (89+ messages)  latest in thread

Message-ID: <4D5C0AC3.1010101@enterprisedb.com>
Permalink:  ../4D5C0AC3.1010101@enterprisedb.com/
Also on:    postgresql.org/message-id/4D5C0AC3.1010101@enterprisedb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: heikki.linnakangas@enterprisedb.com, robertmhaas@gmail.com, simon@2ndquadrant.com, masao.fujii@gmail.com
  Subject: Re: Sync Rep for 2011CF1
  In-Reply-To: <4D5C0AC3.1010101@enterprisedb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox