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) Bugfixes ### 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 Cleanup for internal errors ---- #### AI description (iteration 1) #### PR Classification Code cleanup to handle internal errors more effectively in production. #### PR Summary This pull request enhances error handling by adding specific checks for out-of-memory errors and refining existing error messages. - `src/commands/diagnostic_commands_common.c`: Added handling for out-of-memory errors and refined error checks for recovery conflicts. - `PostgresClient.cs`: Added specific handling for `OutOfMemoryException`. - `PostgresMongoResultExtensions.cs`: Added new error messages for vector dimension constraints and refined existing error messages.