Re: Missing update of all_hasnulls in BRIN opclasses
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Tomas Vondra <tomas.vondra@enterprisedb.com>,
Justin Pryzby <pryzby@telsasoft.com>,
Matthias van de Meent <boekewurm+postgres@gmail.com>,
pgsql-hackers@lists.postgresql.org
Date: 2023-04-24T15:46:26Z
Lists: pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes: > On 2023-Apr-23, Tomas Vondra wrote: >> Both cases have a patch extending pageinspect to show the new flag, but >> obviously we should commit that only in master. In backbranches it's >> meant only to make testing easier. > In backbranches, I think it should be reasonably easy to add a > --1.7--1.7.1.sql file and set the default version to 1.7.1; that then > enables us to have the functionality (and the tests) in older branches > too. If you just add a --1.X.1--1.12.sql version to each branch that's > identical to that branch's current pageinspect version upgrade script, > that would let us have working upgrade paths for all branches. This is > a bit laborious but straightforward enough. "A bit laborious"? That seems enormously out of proportion to the benefit of putting this test case into back branches. It will have costs for end users too, not only us. As an example, it would unecessarily block some upgrade paths, if the upgraded-to installation is slightly older and lacks the necessary --1.X.1--1.12 script. > If you don't feel like adding that, I volunteer to add the necessary > scripts to all branches after you commit the bugfix, and ensure that all > upgrade paths work correctly. I do not think this should happen at all, whether you're willing to do the work or not. regards, tom lane
Commits
-
Show empty BRIN ranges in brin_page_items
- 428c0cae929b 16.0 landed
-
Fix handling of empty ranges and NULLs in BRIN
- 3581cbdcd64f 16.0 landed
- fc7dc728d1a6 11.21 landed
- d78a66d92c73 12.16 landed
- e187693239ad 15.4 landed
- 40d465cafce0 14.9 landed
- 6c512fc6e90d 13.12 landed
-
Fix handling of NULLs when merging BRIN summaries
- b511d7323df6 11.21 landed
- d42ffda685f5 12.16 landed
- 2b1ab28b9dc9 13.12 landed
- 3f1356e5d60a 14.9 landed
- 80f64b90088a 15.4 landed
- 3ec8a3bfb547 16.0 landed
-
Move IS [NOT] NULL handling from BRIN support functions
- 72ccf55cb99c 14.0 cited