Files
documentdb/pg_helio_api
Vinod Sridharan eec62ebaf1 Merged PR 1416261: Index truncation fix for nested document/array
### Does this PR have any customer impact?

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

### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)

### 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

Index truncation

----
#### AI description  (iteration 1)
#### PR Classification
Bug fix to address incorrect data size calculation in index truncation.

#### PR Summary
This pull request corrects the data size calculation in the `TruncateNestedEntry` function to ensure accurate index truncation.
- `src/opclass/gin_index_term.c`: Adjusted `dataSize` calculation by adding `currentLength` to the base value.
2024-07-31 17:09:22 +03:00
..