Wrap run_isok_queries()
Prev  D. Techniques For Making Local Extensions to Isok  Next

To perform actions before or after execution of run_isok_queries(), write a new function that takes run_isok_queries()'s arguments and returns run_isok_queries()'s results. And does what you wish before or afterward.

So, for example, to ensure a safe, consistent, value for search_path, you could write a function that executes SET search_path ...;, before itself calling run_isok_queries() and returning the result.


Prev  Up  Next
D. Techniques For Making Local Extensions to Isok  Home  Extend Issue Classification

Page generated: 2025-06-02T23:29:41-05:00.