Re: Inline non-SQL SRFs using SupportRequestSimplify

2024-09-03 Thread Tom Lane
Paul Jungwirth writes: > Here are new patches using a new SupportRequestInlineSRF request type. They > include patches and > documentation. I took a look through this. I feel like we're still some way away from having something committable. I've got two main complaint areas: 1. It doesn't se

Re: Inline non-SQL SRFs using SupportRequestSimplify

2024-08-30 Thread Paul Jungwirth
On 7/26/24 11:58, Tom Lane wrote: > Heikki Linnakangas writes: >> On 28/06/2024 01:01, Paul Jungwirth wrote: >>> Another approach I considered is using a separate support request, e.g. SupportRequestInlineSRF, and >>> just calling it from inline_set_returning_function. I didn't like having two

Re: Inline non-SQL SRFs using SupportRequestSimplify

2024-07-26 Thread Tom Lane
Heikki Linnakangas writes: > On 28/06/2024 01:01, Paul Jungwirth wrote: >> Another approach I considered is using a separate support request, e.g. >> SupportRequestInlineSRF, and >> just calling it from inline_set_returning_function. I didn't like having two >> support requests that >> did almos

Re: Inline non-SQL SRFs using SupportRequestSimplify

2024-07-02 Thread Heikki Linnakangas
On 28/06/2024 01:01, Paul Jungwirth wrote: If it seems good to let people use SupportRequestSimplify to make their SRFs be inlineable, I'm happy to add tests and docs. We should really document the idea of inlined functions in general, so I'll do that too. Another approach I considered is usin