Skip site navigation (1) Skip section navigation (2)

Re: Torn page hazard in ginRedoUpdateMetapage()

From: Daniel Farina <daniel(at)heroku(dot)com>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Torn page hazard in ginRedoUpdateMetapage()
Date: 2012-05-03 04:01:49
Message-ID: (view raw or whole thread)
Lists: pgsql-hackers
On Wed, May 2, 2012 at 6:06 PM, Noah Misch <noah(at)leadboat(dot)com> wrote:
> Can we indeed assume that all support-worthy filesystems align the start of
> every file to a physical sector?  I know little about modern filesystem
> design, but these references leave me wary of that assumption:
> If it is a safe assumption, we could exploit it elsewhere.

Not to say whether this is safe or not, but it *is* exploited
elsewhere, as I understand it: the pg_control information, whose
justification for its safety is its small size.  That may point to a
very rare problem with pg_control rather the safety of the assumption
it makes.


In response to


pgsql-hackers by date

Next:From: Robert HaasDate: 2012-05-03 04:11:48
Subject: Re: Latch for the WAL writer - further reducing idle wake-ups.
Previous:From: Vivek Singh RaghuwanshiDate: 2012-05-03 04:00:27
Subject: Re: [HACKERS] Features of Postgresql and Postgres-xc with MySQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group