diff options
author | Tomas Vondra | 2021-04-06 14:12:37 +0000 |
---|---|---|
committer | Tomas Vondra | 2021-04-06 14:56:06 +0000 |
commit | 518442c7f334f3b05ea28b7ef50f1b551cfcc23e (patch) | |
tree | 5a24b7e2dea054ed0fb094afbb8dcbd7fa441d70 /src/backend/access/gist/gistxlog.c | |
parent | 7ab96cf6b312cfcd79cdc1a69c6bdb75de0ed30f (diff) |
Fix handling of clauses incompatible with extended statistics
Handling of incompatible clauses while applying extended statistics was
a bit confused - while handling a mix of compatible and incompatible
clauses it sometimes incorrectly treated the incompatible clauses as
compatible, resulting in a crash.
Fixed by reworking the code applying the selected statistics object to
make it easier to understand, and adding a proper compatibility check.
Reported-by: David Rowley
Discussion: https://postgr.es/m/CAApHDvpYT10-nkSp8xXe-nbO3jmoaRyRFHbzh-RWMfAJynqgpQ%40mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions