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) Bugfix ### 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 ### ChangeLog (Refer [Template](../oss/CHANGELOG.md)) ### Description - The asserts enabled build fails for missing permsInfo on planned statement, add it while creating the Point read plan ---- #### AI description (iteration 1) #### PR Classification Bug fix: Add permission information to planned statements for PostgreSQL versions greater than 16. #### PR Summary This pull request addresses a bug in the point read path by adding permission information to planned statements for PostgreSQL versions 16 and above. This change is part of optimizing the read hotpath as per the linked work item. - In `/oss/pg_documentdb/src/planner/documents_custom_planner.c`, added `permInfos` to the planned statement for PostgreSQL versions 16 and above. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot --> Related work items: #4157027