Re: Remove FATAL from pg_lzdecompress - Mailing list pgsql-patches

From Zdenek Kotala
Subject Re: Remove FATAL from pg_lzdecompress
Date
Msg-id 47FE6E44.8030201@sun.com
Whole thread Raw
In response to Re: Remove FATAL from pg_lzdecompress  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane napsal(a):
> Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
>>>> I attach patch which adds boundaries check and memory overwriting
>>>> protection when compressed data are corrupted.
>
>> Good point. Is there plan to applied also on other branch?
>
> I wasn't planning to back-patch it.  Given the lack of field reports
> of compressed-data problems, it seemed to me that the risk of breaking
> something was larger than the chance of helping someone.  We could
> reconsider this after the code has been in HEAD awhile, perhaps.

Tom,

one of our customer with 3TB table it uses now in production (8.2) awhile (2
weeks) and it works pretty well. He had a corrupted data in TOASTed table and
now his system is stable without random crashes. I plan to use this patch in
official Solaris build, but I prefer do not have differences between main stream
and solaris binaries. Would be possible to backported this patch?

        Thanks Zdenek

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Including Snapshot Info with Indexes
Next
From: "Sibte Abbas"
Date:
Subject: Re: psql slash# command