| From: | Tomas Vondra <tomas(dot)vondra(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Remove unnecessary clauses_attnums variable |
| Date: | 2019-11-28 22:29:11 |
| Message-ID: | E1iaSHf-0000pB-40@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Remove unnecessary clauses_attnums variable
Commit c676e659b2 reworked how choose_best_statistics() picks the best
extended statistics, but failed to remove clauses_attnums which is now
unnecessary. So get rid of it and backpatch to 12, same as c676e659b2.
Author: Tomas Vondra
Discussion: https://postgr.es/m/CA+u7OA7H5rcE2=8f263w4NZD6ipO_XOrYB816nuLXbmSTH9pQQ@mail.gmail.com
Backpatch-through: 12
Branch
------
REL_12_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/79d6e6afabcb3766ea4d21e3e26d25a5f2f69553
Modified Files
--------------
src/backend/statistics/extended_stats.c | 4 ----
1 file changed, 4 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tomas Vondra | 2019-11-28 22:29:22 | pgsql: Remove unnecessary clauses_attnums variable |
| Previous Message | Tomas Vondra | 2019-11-28 21:29:33 | pgsql: Fix choose_best_statistics to check clauses individually |