Re: [HACKERS] Bit data type header reduction in some cases

2014-02-25 Thread Heikki Linnakangas
On 02/25/2014 08:23 AM, Haribabu Kommi wrote: It's regarding a Todo item of Bit data type header reduction in some cases. The header contains two parts. 1) The varlena header is automatically converted to 1 byte header from 4 bytes in case of small data. 2) The bit length header called bit_len

Re: [HACKERS] Bit data type header reduction in some cases

2014-02-25 Thread Tom Lane
Heikki Linnakangas hlinnakan...@vmware.com writes: On 02/25/2014 08:23 AM, Haribabu Kommi wrote: It's regarding a Todo item of Bit data type header reduction in some cases. The header contains two parts. 1) The varlena header is automatically converted to 1 byte header from 4 bytes in case of

Re: [HACKERS] Bit data type header reduction in some cases

2014-02-25 Thread Bruce Momjian
On Tue, Feb 25, 2014 at 09:32:55AM -0500, Tom Lane wrote: Heikki Linnakangas hlinnakan...@vmware.com writes: On 02/25/2014 08:23 AM, Haribabu Kommi wrote: It's regarding a Todo item of Bit data type header reduction in some cases. The header contains two parts. 1) The varlena header is

[HACKERS] Bit data type header reduction in some cases

2014-02-24 Thread Haribabu Kommi
Hi, It's regarding a Todo item of Bit data type header reduction in some cases. The header contains two parts. 1) The varlena header is automatically converted to 1 byte header from 4 bytes in case of small data. 2) The bit length header called bit_len to store the actual bit length which is of