[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-general
Subject:    Re: Where I can find the achieve of the 'generate_series' ?
From:       Laurenz Albe <laurenz.albe () cybertec ! at>
Date:       2023-05-30 7:24:52
Message-ID: 057a9694dd27b33cdd83528aaecfbee6af8c63b1.camel () cybertec ! at
[Download RAW message or body]

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?

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic