Files
documentdb/pg_helio_api/include/commands
Vinod Sridharan d3b352e197 Merged PR 1478219: [Perf] Improve perf in the cursor generation
### Does this PR have any customer impact?
no

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

### 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?
No
### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md))

### Description
Only generate cursorId if the query has a continuation. (seen to take ~2% backend CPU of a ycsb read workload).

Also remove some functions that are long deprecated.

----
#### AI description  (iteration 1)
#### PR Classification
Performance improvement

#### PR Summary
This pull request aims to improve performance in cursor generation by removing deprecated functions and related tests.
- Removed deprecated cursor-related functions from `oss/pg_helio_api/src/commands/cursors.c`.
- Deleted test files `pgmongo/src/test/regress/expected/pgmongo_get_cursor_page_tests.out` and `pgmongo/src/test/regress/sql/pgmongo_get_cursor_page_tests.sql`.
- Updated `pgmongo/src/test/regress/expected/bson_aggregation_stage_merge_tests.out` to reflect changes in cursor ID handling.
- Added deprecation error messages for cursor-related functions in `pgmongo/src/function_stubs.c`.
2024-10-10 11:17:14 +03:00
..
2024-01-12 19:10:20 +00:00