Re: User timeouts for scheduling functions

2025-06-10 Thread David G. Johnston
On Tuesday, June 10, 2025, Steve Senior wrote: > I'm prototyping an extension in which I need to execute a C function > repeatedly on a timer as part of a sql execution hook, > Isn’t this going to produce a long-running open transaction? David J.

User timeouts for scheduling functions

2025-06-10 Thread Steve Senior
I'm prototyping an extension in which I need to execute a C function repeatedly on a timer as part of a sql execution hook, and end it when I choose. I've spent the time reading these lists, the documentation etc and the only solution I saw that wouldn't require a patch was user-definable timeou