postgresql/contrib/pageinspect/expected
Nathan Bossart 0938a4ecda Fix contrib/pageinspect's test for sequences.
I managed to break this test in two different ways in commit
05036a3155.

First, the output of the new call to tuple_data_split() on the test
sequence is dependent on endianness.  This is fixed by setting a
special start value for the test sequence that produces the same
output regardless of the endianness of the machine.

Second, on versions older than v15, the new test case fails under
"force_parallel_mode = regress" with the following error:

	ERROR:  cannot access temporary tables during a parallel operation

This is because pageinspect's disk-accessing functions are
incorrectly marked PARALLEL SAFE on versions older than v15 (see
commit aeaaf520f4 for details).  This one is fixed by changing the
test sequence to be permanent.  The only reason it was previously
marked temporary was to avoid needing a DROP SEQUENCE command at
the end of the test.  Unlike some other tests in this file, the use
of a permanent sequence here shouldn't result in any test
instability like what was fixed by commit e2933a6e11.

Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/ZuOKOut5hhDlf_bP%40nathan
Backpatch-through: 12
2024-09-13 10:16:40 -05:00
..
brin.out Show empty BRIN ranges in brin_page_items 2023-05-19 02:00:21 +02:00
btree.out Add bt_multi_page_stats() function to contrib/pageinspect. 2023-01-02 13:02:29 -05:00
checksum.out Add an explicit test to catch changes in checksumming calculations. 2020-03-08 15:09:14 -04:00
checksum_1.out Add an explicit test to catch changes in checksumming calculations. 2020-03-08 15:09:14 -04:00
gin.out pageinspect: Fix handling of all-zero pages 2022-04-14 15:08:03 +09:00
gist.out pageinspect: Fix gist_page_items() with included columns 2023-05-19 12:37:58 +09:00
hash.out pageinspect: Fix failure with hash_bitmap_info() for partitioned indexes 2023-12-19 18:19:15 +09:00
oldextversions.out pageinspect: Improve page_header() for pages of 32kB 2021-07-12 11:05:27 +09:00
page.out Fix contrib/pageinspect's test for sequences. 2024-09-13 10:16:40 -05:00