Re: Sync scan & regression tests
Heikki Linnakangas <hlinnaka@iki.fi>
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Tomas Vondra
<tomas.vondra@enterprisedb.com>, David Rowley <dgrowleyml@gmail.com>,
Melanie Plageman <melanieplageman@gmail.com>,
Konstantin Knizhnik <knizhnik@garret.ru>,
pgsql-hackers@lists.postgresql.org, Thomas Munro <thomas.munro@gmail.com>
Date: 2023-09-19T09:06:57Z
Lists: pgsql-hackers
Attachments
- silence-small-shared_buffers-fail-by-changing-test-to-copy-less.patch (text/x-patch) patch
On 19/09/2023 01:57, Andres Freund wrote: > On 2023-09-18 13:49:24 +0300, Heikki Linnakangas wrote: >> d) Copy fewer rows to the table in the test. If we copy only 6 rows, for >> example, the table will have only two pages, regardless of shared_buffers. >> >> I'm leaning towards d). The whole test is a little fragile, it will also >> fail with a non-default block size, for example. But c) seems like a simple >> fix and wouldn't look too out of place in the test. > > Hm, what do you mean with the last sentence? Oh, is the test you're > referencing the relation-extension logic? Sorry, I said "c) seems like a simple fix ...", but I meant "d) seems like a simple fix ..." I meant the attached. -- Heikki Linnakangas Neon (https://neon.tech)
Commits
-
Avoid edge case in pg_visibility test with small shared_buffers
- 408209d6a9ae 16.3 landed
- 3a4837fc809a 17.0 landed
-
Report syncscan position at end of scan.
- d5feb6011e62 16.0 landed
- e8d74ad625f7 17.0 landed
-
hio: Take number of prior relation extensions into account
- 82a4edabd272 17.0 cited
-
Reduce code duplication between heapgettup and heapgettup_pagemode
- 7ae0ab0ad970 16.0 cited
-
Fix CLUSTER tuplesorts on abbreviated expressions.
- 8ab0ebb9a842 15.0 cited
-
Set PD_ALL_VISIBLE and visibility map bits in COPY FREEZE
- 7db0cd2145f2 14.0 cited