Re: pg_verify_checksums vs windows

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_verify_checksums vs windows
Date: 2018-08-29 11:44:05
Message-ID: CAA4eK1Ki9+OpHbYXgxZM6X7BEQga_AZsEXp6odLDhODQ-NTkvw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Aug 29, 2018 at 5:05 PM Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>
> On Wed, Aug 29, 2018 at 1:31 PM, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>>
>> So, I think we need to open the file in binary mode as in other parts
>> of the code. The attached patch fixes the problem for me.
>>
>> Thoughts?
>
>
> Yikes. Yes, I believe you are correct, and that looks like the correct fix.
>
> I wonder why this was not caught on the buildfarm. We do have regression tests for it, AFAIK?
>

I am not able to find regression tests for it, but maybe I am not
seeing it properly. By any chance, you have removed it during revert
of ""Allow on-line enabling and disabling of data checksums".

--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2018-08-29 11:46:38 Re: pg_verify_checksums -d option (was: Re: pg_verify_checksums -r option)
Previous Message Etsuro Fujita 2018-08-29 11:38:56 Re: Two proposed modifications to the PostgreSQL FDW