Re: Add tests for PL/pgSQL SRFs

2024-08-31 Thread Tom Lane
Paul Jungwirth writes: > While working on inlining non-SQL SRFs [1] I noticed we don't have tests for > when a PL/pgSQL > function requires materialize mode but doesn't have a result TupleDesc. Here > is a patch adding tests > for that, as well as some other conditions around SRF calls with `S

Add tests for PL/pgSQL SRFs

2024-08-30 Thread Paul Jungwirth
Hello Hackers, While working on inlining non-SQL SRFs [1] I noticed we don't have tests for when a PL/pgSQL function requires materialize mode but doesn't have a result TupleDesc. Here is a patch adding tests for that, as well as some other conditions around SRF calls with `SETOF RECORD` vs `TA