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 1) Log Connection open events in the GW 2) Add current backend PID to notices from BE in GW 3) Add ErrDetail_log support for lock statements in GW 4) Don't continue Insert/Update/Delete on Query cancellation. ---- #### AI description (iteration 1) #### PR Classification Bug fix #### PR Summary This pull request addresses livesite issues by adding logging and fixing continuation on query cancellation. - `error_utils.h`: Added `IsOperatorInterventionError` function to handle specific error codes. - `update.c`, `delete.c`, `insert.c`: Integrated `IsOperatorInterventionError` to rethrow specific errors. - `PostgresClientProvider.cs`: Added logging for physical connection opens. - `PostgresClient.cs`: Enhanced logging to include process ID and hint details. - `logger_hooks.c`: Modified logging behavior to promote detail logs to hints. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->