Re: Question regarding the database page layout. - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: Question regarding the database page layout.
Date
Msg-id 20080902101452.GA3664@svana.org
Whole thread Raw
In response to Re: Question regarding the database page layout.  ("Ryan Bradetich" <rbradetich@gmail.com>)
Responses Re: Question regarding the database page layout.  ("Ryan Bradetich" <rbradetich@gmail.com>)
List pgsql-hackers
On Tue, Sep 02, 2008 at 01:49:43AM -0700, Ryan Bradetich wrote:
> For fun, I looked around in heap_form_tuple() today to see how big of a job this
> change would be.   It did not seem very hard to implement.  I know there are
> probably several other places I missed with this patch, but this patch does pass
> the regression tests and simple testing I threw at it (including ALTER TABLE
> ADD COLUMN, etc).

You need to arrange testing on an architechture that has strict
alignment reuiqrements. For example i386 doesn't care about alignment
at all and will anything from anywhere, with performance degradation.

Other architechtures will simply throw exceptions, that's the smoke
test.

Also, what's the performance cost?

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: rmgr hooks and contrib/rmgr_hook
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Window functions patch v04 for the September commit fest