Re: Hot standby, race condition between recovery snapshot and commit

Simon Riggs <simon@2ndquadrant.com>

From: Simon Riggs <simon@2ndQuadrant.com>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2009-11-14T21:08:51Z
Lists: pgsql-hackers
On Sat, 2009-11-14 at 14:59 +0200, Heikki Linnakangas wrote:
> There's a race condition ....

Yes, I believe this is a major showstopper for the current
approach/attempt....but...

> I can't see any obvious way around that. 

Huh? We're only doing this strict locking approach because you insisted
that the looser approach was not acceptable. Have you forgotten that
discussion so completely that you can't even remember the existence of
other options? 

It amazes me that you should then use locking overhead as the reason to
not pursue the current approach further, which was exactly my argument
for not pursuing it in the first place.

You're leading me a merry dance.

-- 
 Simon Riggs           www.2ndQuadrant.com