Re: Reducing data type space usage - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: Reducing data type space usage
Date
Msg-id 87bqpgx8pu.fsf@enterprisedb.com
Whole thread Raw
In response to Re: Reducing data type space usage  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Reducing data type space usage  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Gregory Stark <stark@enterprisedb.com> writes:
>> The user would have to decide that he'll never need a value over 127 bytes
>> long ever in order to get the benefit.
>
> Weren't you the one that's been going on at great length about how
> wastefully we store CHAR(1) ?  Sure, this has a somewhat restricted
> use case, but it's about as efficient as we could possibly get within
> that use case.

Sure, but are you saying you would have this in addition to do variable sized
varlena headers?

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: log_duration is redundant, no?
Next
From: Tom Lane
Date:
Subject: Re: The enormous s->childXids problem