Thread

  1. Re: Extend injection_points_attach() to accept a user-defined function

    Rahila Syed <rahilasyed90@gmail.com> — 2025-10-29T11:32:48Z

    Hi,
    
    > How about a simpler injection_points_attach(point_name text, func
    > text, module text) with a second SQL function, but a different number
    > of arguments?   Using a new hardcoded action for this purpose is
    > confusing as your point is to introduce a SQL wrapper on top of
    > InjectionPointAttach(), and using input arguments that match with the
    > C function is an attractive option.
    
    Thank you for the suggestion.
    I agree that having a separate SQL function for this would make the design
    easier to understand.
    
    Please find attached a patch that implements this.
    
    Thank you,
    Rahila Syed