On Mon, Oct 19, 2026 at 2:42 PM Joel Jacobson <[email protected]> wrote:
> Attached patch uses InitMaterializedSRF() to complete the scan > before returning rows, following 257c8231bf. > Hi Joel, I reviewed the attached patch on master with assertions enabled. Before the fix, repeated target-list calls under `LIMIT` in one transaction cause a backend crash with `PANIC: ERRORDATA_STACK_SIZE exceeded`. With the patch, the same workload completes without warnings or errors. The materialization approach follows the SRF guidance in `funcapi.h` and looks good to me. Thanks, Sho -- ======================================= *Sho Ito (Sean)* E-mail: [email protected] LinkedIn: *https://www.linkedin.com/in/sho-ito-0628/ <https://www.linkedin.com/in/sho-ito-0628/>* GitHub: https://github.com/sean0628/ =======================================
