Re: Getting rid of cmin and cmax

From: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org, mkoi-pg(at)aon(dot)at
Subject: Re: Getting rid of cmin and cmax
Date: 2006-09-19 18:23:28
Message-ID: 451035A0.5030303@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane kirjoitti:
> I'm also concerned about loss of debug traceability if these fields
> disappear entirely from disk --- it's been handy more than once to be
> able to tell where in a complex transaction something happened.
>

Sure. We'll just have to try to compensate that with debug messages
etc., whatever scheme we choose.

> Lastly, at least on machines with 8-byte MAXALIGN, removing four more
> bytes from heap headers would save nothing. So I'm not excited about
> going through enormous pushups to get rid of both fields, when a far
> simpler and better-performing mechanism suffices to remove one.
>

It would be a win on 32-bit architectures. And there has been discussion of
storing at least some data types unaligned.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2006-09-19 18:25:19 Re: -HEAD planner issue wrt hash_joins on dbt3 ?
Previous Message Marc Evans 2006-09-19 18:12:53 Re: Odd behavior observed