| От | Andrew Dunstan |
|---|---|
| Тема | Re: astreamer fixes |
| Дата | |
| Msg-id | c2fb2a5b-d7fc-4d25-b6f7-db6ab51c5e1b@dunslane.net обсуждение |
| Ответ на | Re: astreamer fixes (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
Andrew Dunstan <andrew@dunslane.net> writes:On 2026-03-28 Sa 1:48 PM, Tom Lane wrote:but I don't like the other bit + /* If we've hit the end of the compressed stream, stop. */ + if (res == Z_STREAM_END) + break; Paying attention to the amount of data consumed seems just as good and takes less code.So IIUC, you agree with the patch except for this last piece, on which I agree with your reasoning.Right, I would leave out the above-quoted hunk but the rest of it looks good.
Thanks. pushed.
cheers
andrew
-- Andrew Dunstan EDB: https://www.enterprisedb.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера