Fix portability issues in the new gist pageinspect test.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 13 Jan 2021 10:32:54 +0000 (12:32 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 13 Jan 2021 10:32:54 +0000 (12:32 +0200)
commit6ecaaf810b8b9e3132f00549e630400f38a7ca37
tree8c540a9a1c471dd6ac91bf7012b4b7154386bfad
parente6eeb8d799c703eb829612ddcb4fd5ba82d3e880
Fix portability issues in the new gist pageinspect test.

1. The raw bytea representation of the point-type keys used in the test
   depends on endianess. Remove the raw key_data column from the test.

2. The items stored on non-leftmost gist page depends on how many items
   git on the other pages. This showed up as a failure on 32-bit i386
   systems. To fix, only test the gist_page_items() function on the
   leftmost leaf page.

Per Andrey Borodin and the buildfarm.

Discussion: http://www.postgresql.org/message-id/9FCEC1DC-86FB-4A57-88EF-DD13663B36AF%40yandex-team.ru
contrib/pageinspect/expected/gist.out
contrib/pageinspect/sql/gist.sql