Re: Alternative variable length structure

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ITAGAKI Takahiro <itagaki(dot)takahiro(at)lab(dot)ntt(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Alternative variable length structure
Date: 2005-09-09 03:06:55
Message-ID: 29068.1126235215@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

ITAGAKI Takahiro <itagaki(dot)takahiro(at)lab(dot)ntt(dot)co(dot)jp> writes:
> If the new text type wins VARCHAR in many respects,
> I'd like to propose to replace VARCHAR with it.

This idea would impose fairly significant overhead in a number of
places, for instance locating field starts within a tuple. It didn't
appear to me that you'd even tried to measure that overhead is?
Given that slot_getattr and friends are often hotspots, I don't think
the costs involved can be ignored.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-09-09 04:20:12 Re: Attention PL authors: want to be listed in template table?
Previous Message Bruce Momjian 2005-09-09 02:55:15 beta2 time?