From: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
---|---|
To: | Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andres Freund <andres(at)anarazel(dot)de>, Yuqi Gu <Yuqi(dot)Gu(at)arm(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Optimize Arm64 crc32c implementation in Postgresql |
Date: | 2018-04-04 11:21:21 |
Message-ID: | 44ae6b99-6f81-b209-1152-39d7af6ea12c@iki.fi |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 04/04/18 14:13, Thomas Munro wrote:
> On Wed, Apr 4, 2018 at 9:23 PM, Heikki Linnakangas <hlinnaka(at)iki(dot)fi> wrote:
>> Pushed, thanks everyone!
>
> On eelpout two test_decoding tests failed:
>
> test ddl ... FAILED
> test rewrite ... FAILED
>
> The output has several cases where pg_logical_slot_get_changes() is
> invoked and then fails like this:
>
> SELECT data FROM pg_logical_slot_get_changes('regression_slot',
> NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1');
> ! ERROR: incorrect resource manager data checksum in record at 0/1BD6600
>
> Not sure why it would break when called by pg_logical_slot_get_changes()...
>
> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=eelpout&dt=2018-04-04%2009%3A58%3A56
Yep. I got the code before the main loop, to handle the first 1-7
unaligned bytes, wrong. Apparently those are the only tests that call
the CRC function with very short and unaligned input.
I've got a fix ready, and I'm running "make check-world" on my ARM box
now, to make sure there aren't any more failures. I'll push the fix once
that's finished. Should've run the full test suite before pushing in the
first place..
- Heikki
From | Date | Subject | |
---|---|---|---|
Next Message | Dmitry Dolgov | 2018-04-04 11:27:16 | Re: json(b)_to_tsvector with numeric values |
Previous Message | Thomas Munro | 2018-04-04 11:13:42 | Re: Optimize Arm64 crc32c implementation in Postgresql |