Re: Short varlena headers and arrays

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: "PostgreSQL Development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Short varlena headers and arrays
Date: 2007-02-20 04:55:18
Message-ID: 19866.1171947318@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gregory Stark <stark(at)enterprisedb(dot)com> writes:
> "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
>> Elements of arrays are not subject to being toasted by themselves, so
>> I don't think you can make that work. At least not without breaking
>> wide swaths of code that works fine today.

> You think it's more likely there are places that build arrays and then read
> the items back without passing through detoast than there are places that
> build tuples and do so?

The former is valid per the coding rules, the latter is not, so...

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-02-20 05:14:18 Re: [PATCHES] WIP patch - INSERT-able log statements
Previous Message Jonah H. Harris 2007-02-20 04:54:00 Re: New feature request: FlashBack Query