On Tue, May 30, 2023 at 8:35 AM Wen Yi <896634...@qq.com> wrote: > Hi team, > I want to figure out the principle of the function 'generate_series', but > I don't know it contains in which source file.(I download the pgsql 15.3 > source code) > Can someone provide some advice? > Thanks in advance! > > Yours, > Wen Yi >
select proname,prosrc,prosupport from pg_proc where proname ~* 'generate_series'; then grep the prosrc.