diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2017-04-06 17:49:26 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2017-04-06 17:51:53 -0300 |
commit | 7e534adcdc70866e7be74d626b0ed067c890a251 (patch) | |
tree | 609e0b65eb10538fdaa787fc29dee9655a6da710 /src/backend/executor/nodeAgg.c | |
parent | b2ff37d43cc81348fd8e9d9c5fcc9dfadf790763 (diff) | |
download | postgresql-7e534adcdc70866e7be74d626b0ed067c890a251.tar.gz postgresql-7e534adcdc70866e7be74d626b0ed067c890a251.zip |
Fix BRIN cost estimation
The original code was overly optimistic about the cost of scanning a
BRIN index, leading to BRIN indexes being selected when they'd be a
worse choice than some other index. This complete rewrite should be
more accurate.
Author: David Rowley, based on an earlier patch by Emre Hasegeli
Reviewed-by: Emre Hasegeli
Discussion: https://postgr.es/m/CAKJS1f9n-Wapop5Xz1dtGdpdqmzeGqQK4sV2MK-zZugfC14Xtw@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeAgg.c')
0 files changed, 0 insertions, 0 deletions