Re: Where I can find the achieve of the 'generate_series' ? - Mailing list pgsql-general

From Laurenz Albe
Subject Re: Where I can find the achieve of the 'generate_series' ?
Date
Msg-id 057a9694dd27b33cdd83528aaecfbee6af8c63b1.camel@cybertec.at
Whole thread Raw
In response to Where I can find the achieve of the 'generate_series' ?  ("Wen Yi" <896634148@qq.com>)
List pgsql-general
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.(Idownload the pgsql 15.3 source code) 
> Can someone provide some advice?


https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/backend/utils/adt/int.c;h=44d1c7ad0c4d770acc33f35bb57080bac7670e5c;hb=HEAD#l1499

This is the "integer" version of the function, the others are in
"int8.c", "numeric.c" and "timestamp.c".

Yours,
Laurenz Albe



pgsql-general by date:

Previous
From: jian he
Date:
Subject: Re: Where I can find the achieve of the 'generate_series' ?
Next
From: Marc Millas
Date:
Subject: syntax pb