model-writtenrun 1673 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Rahila Syed proposed a SQL interface for attaching custom C callbacks without writing a separate attachment wrapper, initially extending injection_points_attach() with a "func" action and optional function/module arguments in #1.
- Michael Paquier recommended a separate SQL overload matching the underlying C API in #2, and Rahila implemented that design in #3, abandoning the special action.
- Mihail Nikalayeu asked about combining notice and wait behavior and requested regression tests in #4; Rahila explained that a combined C callback could provide that behavior and added tests for attaching and running a notice callback in #5.
- Michael questioned library-specific conditions and per-point statistics for arbitrary callbacks in #6; Rahila's revision in #7 removed those facilities and local cleanup tracking while adding BYTEA private data for callbacks to interpret themselves.
- Michael approved the minimal implementation and its installcheck-safe test in #8, then committed #7 as 16a2f70695 with required-argument NULL checks, regression cases and comment/style adjustments, explaining the crash fixes in #9.
- Rahila acknowledged the fixes and commit in #10, closing the thread with the proposed functionality landed and no outstanding work stated.