mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
### Does this PR have any customer impact? No ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) Refactor ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) No ### Are you introducing any new config? If yes, do you have tests with and without them being set? ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) ### Description - Refactor to remove dead features or features already enabled by default - Remove any checks of cluster version < V21 that are not dependent on persistent storage. ---- #### AI description (iteration 1) #### PR Classification Code cleanup #### PR Summary This pull request removes dead feature flags and related code from the Pgmongo codebase. - Removed the `OptimizeIndexExpressionsForDollarIn` function and related comments from `src/opclass/index_support.c`. - Simplified the `ProcessLookupCoreWithLet` function in `src/aggregation/bson_aggregation_nested_pipeline.c` by removing conditional logic based on cluster version. - Updated test cases in `src/test/regress/expected/conflicting_indexes.out` to reflect the removal of extended index filters and unsupported expressions in partial indexes.