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

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

On Tue, Jul 15, 2008 at 10:22 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "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.

Agreed.

--
Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324
EnterpriseDB Corporation | fax: 732.331.1301
499 Thornall Street, 2nd Floor | jonah(dot)harris(at)enterprisedb(dot)com
Edison, NJ 08837 | http://www.enterprisedb.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jonah H. Harris 2008-07-15 14:27:48 Re: Is there anyway to create a TupleDesc with uint32 attribute easily?
Previous Message Tom Lane 2008-07-15 14:22:33 Re: Is there anyway to create a TupleDesc with uint32 attribute easily?