Where I can find the achieve of the 'generate_series' ?
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
On 5/29/23 17:34, Wen Yi 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!
At ~src/
grep -r --include=*.c generate_series
Yours,
Wen Yi
--
Adrian Klaver
adrian.klaver@aklaver.com
On Tue, May 30, 2023 at 8:35 AM Wen Yi <896634148@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.
On Tue, 2023-05-30 at 08:34 +0800, Wen Yi wrote:
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?
This is the "integer" version of the function, the others are in
"int8.c", "numeric.c" and "timestamp.c".
Yours,
Laurenz Albe