Brendan Jurd escribió:
> On Wed, Apr 23, 2008 at 12:16 AM, Alvaro Herrera
> <alvherre@commandprompt.com> wrote:
> >
> > Perhaps what's going on is that the software does not check that the
> > version I read is the most recent one :-( so if two of us edit the page
> > at the same time, the one committing last is going to stomp on the
> > changes of the other one.
>
> I had a look into the history on the CommitFest page. It looks like
> Alvaro unintentionally clobbered the previous five edits, which went
> back about four hours. I've restored those changes now, but it is
> definitely worrying that such a drastic regression could occur.
>
> The only way I can conceive of this happening is that Alvaro was
> making his edits on a *very* old copy of the edit page.
Really strange. The only way I imagine this could have happened is that
the browser got the page from the cache instead of re-fetching it. As I
said, I normally verify the diff manually before committing.
I'll keep an eye on diffs _after_ committing.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support