aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/syscat.source
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-11-21 10:23:38 +0900
committerMichael Paquier <michael@paquier.xyz>2019-11-21 10:23:38 +0900
commitc644407f757c26c9037e4dfc67f57b841489afd4 (patch)
tree80f64837e502a47b5874cefe5663c594c3e40e05 /src/tutorial/syscat.source
parent2c9772f5f5b4172d7332c7fbf742d773bdf44e1c (diff)
downloadpostgresql-c644407f757c26c9037e4dfc67f57b841489afd4.tar.gz
postgresql-c644407f757c26c9037e4dfc67f57b841489afd4.zip
Provide statistics for hypothetical BRIN indexes
Trying to use hypothetical indexes with BRIN currently fails when trying to access a relation that does not exist when looking for the statistics. With the current API, it is not possible to easily pass a value for pages_per_range down to the hypothetical index, so this makes use of the default value of BRIN_DEFAULT_PAGES_PER_RANGE, which should be fine enough in most cases. Being able to refine or enforce the hypothetical costs in more optimistic ways would require more refactoring by filling in the statistics when building IndexOptInfo in plancat.c. This would involve ABI breakages around the costing routines, something not fit for stable branches. This is broken since 7e534ad, so backpatch down to v10. Author: Julien Rouhaud, Heikki Linnakangas Reviewed-by: Álvaro Herrera, Tom Lane, Michael Paquier Discussion: https://postgr.es/m/CAOBaU_ZH0LKEA8VFCocr6Lpte1ab0b6FpvgS0y4way+RPSXfYg@mail.gmail.com Backpatch-through: 10
Diffstat (limited to 'src/tutorial/syscat.source')
0 files changed, 0 insertions, 0 deletions