Re: [PATCH] Verify Checksums during Basebackups
От | Robert Haas |
---|---|
Тема | Re: [PATCH] Verify Checksums during Basebackups |
Дата | |
Msg-id | CA+TgmoYezf55EFUAQZ-zHugOcmCaTMs+znmp1sHCw=xm=eSjsA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [PATCH] Verify Checksums during Basebackups (Magnus Hagander <magnus@hagander.net>) |
Ответы |
Re: [PATCH] Verify Checksums during Basebackups
|
Список | pgsql-hackers |
On Fri, Mar 2, 2018 at 6:23 AM, Magnus Hagander <magnus@hagander.net> wrote: > Another quick note -- we need to assert that the size of the buffer is > actually divisible by BLCKSZ. I don't think it's a common scenario, but it > could break badly if somebody changes BLCKSZ. Either that or perhaps just > change the TARSENDSIZE to be a multiple of BLCKSZ. I think that this patch needs to support all block sizes that are otherwise supported -- failing an assertion doesn't seem like a reasonable option, unless it only happens for block sizes we don't support anyway. +1 for the feature in general. I think this would help a lot of peple. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: