Files
documentdb/pg_documentdb
Vinod Sridharan 86165f7774 Merged PR 1622478: [Cursors] Enable support for primary key based cursor scan
### Does this PR have any customer impact?
No

### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)
Feature

### 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?
Yes
### ChangeLog (Refer [Template](../oss/CHANGELOG.md))

### Description
Enable support for running streaming cursors based on the primary key index. Do this optionally behind a feature flag.

----
#### AI description  (iteration 1)
#### PR Classification
New feature

#### PR Summary
This pull request enables support for primary key-based cursor scans in the system.
- Added new test cases in `bson_aggregation_cursor_tests_txn.sql` and `bson_aggregation_cursor_tests_txn.out` to validate primary key cursor scan functionality.
- Updated `custom_scan_continuation.c` to handle primary key cursor scans and build primary key index clauses.
- Modified `metadata_cache.c` to include functions for retrieving OIDs for integer and BSON B-tree operation families.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
2025-04-07 11:39:49 +08:00
..