diff options
author | David Rowley <drowley@postgresql.org> | 2024-07-09 09:54:59 +1200 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2024-07-09 09:54:59 +1200 |
commit | 036bdcec9f9998a6e50711fadce69e482ff18f55 (patch) | |
tree | 8c1083770d0c69096c0ce0bb3963333b74c75168 /src/backend/executor/execParallel.c | |
parent | 5193ca8e155ac0140d20361bdafa27744c016252 (diff) | |
download | postgresql-036bdcec9f9998a6e50711fadce69e482ff18f55.tar.gz postgresql-036bdcec9f9998a6e50711fadce69e482ff18f55.zip |
Teach planner how to estimate rows for timestamp generate_series
This provides the planner with row estimates for
generate_series(TIMESTAMP, TIMESTAMP, INTERVAL),
generate_series(TIMESTAMPTZ, TIMESTAMPTZ, INTERVAL) and
generate_series(TIMESTAMPTZ, TIMESTAMPTZ, INTERVAL, TEXT) when the input
parameter values can be estimated during planning.
Author: David Rowley
Reviewed-by: jian he <jian.universality@gmail.com>
Discussion: https://postgr.es/m/CAApHDvrBE%3D%2BASo_sGYmQJ3GvO8GPvX5yxXhRS%3Dt_ybd4odFkhQ%40mail.gmail.com
Diffstat (limited to 'src/backend/executor/execParallel.c')
0 files changed, 0 insertions, 0 deletions