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