Re: stored short varlena in array

2025-01-19 Thread Tom Lane
Quan Zongliang writes: > 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. TBH, I think this is a bad idea and we should reject it. As you have already discovered, the c

stored short varlena in array

2024-12-24 Thread Quan Zongliang
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 mo