PostgreSQL · Function
generate_series
generate_series creates a set of values from start to stop. You can choose the step and use numbers or timestamps.
Last updated
Syntax
generate_series(start, stop [, step])
generate_series(start timestamp, stop timestamp, step interval)
generate_series(start timestamp with time zone, stop timestamp with time zone, step interval [, timezone text])In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
LATERALROWS FROMtimestamp with time zone