Re: pg_waldump: support decoding of WAL inside tarfile

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_waldump: support decoding of WAL inside tarfile
Дата
Msg-id 2250061.1774104346@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_waldump: support decoding of WAL inside tarfile  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: pg_waldump: support decoding of WAL inside tarfile
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> I also noticed a possible bug in astreamer, where the decompressor 
> finalize functions send bbs_buffer.maxlen bytes to the next streamer 
> when flushing remaining data at end-of-stream. This seems wrong because 
> the buffer may only be partially filled with valid decompressed data. 
> Possible patch for that attached. (But I don't think it's related to 
> these failures).

Ugh.  That's surely very broken, but how did we not notice?
Do all the consumers know enough to ignore garbage trailing data?

            regards, tom lane



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