Re: Is there anyway to create a TupleDesc with uint32 attribute easily?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
Cc: "Xiao Meng" <mx(dot)cogito(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Subject: Re: Is there anyway to create a TupleDesc with uint32 attribute easily?
Date: 2008-07-15 14:22:33
Message-ID: 18796.1216131753@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Heikki Linnakangas" <heikki(at)enterprisedb(dot)com> writes:
> I would actually suggest ditching the normal page layout with line
> pointers and IndexTuples altogether.

It would be a bad idea to remove the page header. You need the LSN
(someday hash indexes will obey WAL logging), and removing the page
version number seems pretty imprudent also. I'd be inclined to
stick with the regular header and the existing "special space"
definition. But yeah, what's in between need not necessarily be
regular tuples.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jonah H. Harris 2008-07-15 14:26:55 Re: Is there anyway to create a TupleDesc with uint32 attribute easily?
Previous Message Bruce Momjian 2008-07-15 14:22:02 Re: BUG #4186: set lc_messages does not work