Re: [PATCH] remove deprecated v8.2 containment operators
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Justin Pryzby <pryzby@telsasoft.com>, Heikki Linnakangas
<hlinnaka@iki.fi>, Stephen Frost <sfrost@snowman.net>,
Ian Lawrence Barwick <barwick@gmail.com>, pgsql-hackers@postgresql.org
Date: 2020-11-16T16:30:27Z
Lists: pgsql-hackers
On 2020-11-13 16:57, Tom Lane wrote: > Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes: >> On 2020-11-12 23:28, Tom Lane wrote: >>> I'm on board with pulling these now --- 8.2 to v14 is plenty of >>> deprecation notice. However, the patch seems incomplete in that >>> the code support for these is still there -- look for >>> RTOldContainedByStrategyNumber and RTOldContainsStrategyNumber. >>> Admittedly, there's not much to be removed except some case labels, >>> but it still seems like we oughta do that to avoid future confusion. > >> Yeah, the stuff in gistproc.c should be removed now. But I wonder what >> the mentions in brin_inclusion.c are and whether or how they should be >> removed. > > I think those probably got cargo-culted in there at some point. > They're visibly dead code, because there are no pg_amop entries > for BRIN opclasses with amopstrategy 13 or 14. I have committed fixes that remove the unused strategy numbers from both of these code areas.
Commits
-
Doc: remove obsolete entries in table of BRIN strategy numbers.
- 0ce4cd04da55 14.0 landed
-
Remove deprecated containment operators for contrib types.
- 112d411fbeb5 14.0 landed
-
Remove unused and deprecated strategy numbers from BRIN code
- d93ccdea1d44 14.0 landed
-
Remove code handling removed deprecated containment operators
- 591d282e8d3e 14.0 landed
-
Remove deprecated containment operators for built-in types
- 2f70fdb0644c 14.0 landed
-
Remove use of deprecated containment operators in tests
- 3165426e54df 14.0 landed