Re: stored short varlena in array

Quan Zongliang <quanzongliang@yeah.net>

From: Quan Zongliang <quanzongliang@yeah.net>
To: pgsql-hackers@lists.postgresql.org
Cc: quanzl@highgo.com
Date: 2024-12-25T06:32:51Z
Lists: pgsql-hackers

Attachments


On 2024/12/25 14:29, Quan Zongliang wrote:
> 
> Hi
> 
> Now, the varlena type is stored directly in the array. Did not consider 
> short varlena. If it's like fill_val(), using short varlena saves memory 
> footprint and disk space.
> In TODO, there is a requirement to be implemented:
>   Allow single-byte header storage for array elements
> 
> This patch modifies many files.
> Based on 38da053463bef32adf563ddee5277d16d2b6c5af
> Has passed the regression test.
> But it can affect many contribs. The code needs to be adjusted. Like 
> hstore and ltree.
> 

Sorry I forgot the patch attachment.

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Try to avoid semaphore-related test failures on NetBSD/OpenBSD.