[HACKERS] broken dead code in pg_lzcompress.h

2006-10-05 Thread Tom Lane
I came across the following obviously corrupt macro in pg_lzcompress.h: #define PGLZ_IS_COMPRESSED(_lzdata) ((_lzdata)-varsize != \ e (_lzdata)-rawsize + e

Re: [HACKERS] broken dead code in pg_lzcompress.h

2006-10-05 Thread Jan Wieck
On 10/5/2006 5:04 PM, Tom Lane wrote: I came across the following obviously corrupt macro in pg_lzcompress.h: #define PGLZ_IS_COMPRESSED(_lzdata) ((_lzdata)-varsize != \ e

Re: [HACKERS] broken dead code in pg_lzcompress.h

2006-10-05 Thread Tom Lane
Jan Wieck [EMAIL PROTECTED] writes: That's quite possible that there is a fair amount of dead code in there because it was originally the header for the lztext datatype, which if memory served only existed quietly in one release to support slightly larger rewrite rules before it was