Re: Alternative variable length structure - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Alternative variable length structure
Date
Msg-id 29068.1126235215@sss.pgh.pa.us
Whole thread Raw
In response to Re: Alternative variable length structure  (ITAGAKI Takahiro <itagaki.takahiro@lab.ntt.co.jp>)
List pgsql-hackers
ITAGAKI Takahiro <itagaki.takahiro@lab.ntt.co.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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: beta2 time?
Next
From: Tom Lane
Date:
Subject: Re: Attention PL authors: want to be listed in template table?