Re: Remove FATAL from pg_lzdecompress

Поиск
Список
Период
Сортировка
От Zdenek Kotala
Тема Re: Remove FATAL from pg_lzdecompress
Дата
Msg-id 47D6BC49.3020600@sun.com
обсуждение исходный текст
Ответ на Re: Remove FATAL from pg_lzdecompress  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Remove FATAL from pg_lzdecompress  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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.
>
> Applied with revisions --- it appeared to me that it got the corner case
> wrong where we find a tag just at the end of the input but there's no
> room for the output.  We'd fall out of the loop and then the error
> test would think all is well.

Good point. Is there plan to applied also on other branch? I think it is
useful fix for production release as well. Especially when I want to
check all tuples and report tid of corrupted tuples, I'm not able handle
FATAL exception.

        Thanks Zdenek

В списке pgsql-patches по дате отправления:

Предыдущее
От: Zdenek Kotala
Дата:
Сообщение: Re: [HACKERS] Fix for large file support (nonsegment mode support)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: TransactionIdIsInProgress() cache