]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix incorrectly reported stats kind in "can't happen" ERROR
authorDavid Rowley <drowley@postgresql.org>
Tue, 5 Mar 2024 03:18:42 +0000 (16:18 +1300)
committerDavid Rowley <drowley@postgresql.org>
Tue, 5 Mar 2024 03:18:42 +0000 (16:18 +1300)
commit0c2dda109a6cfd9fbfeef77dad4996d39faebeae
tree3d3111abba768d31cf0b591b382dfcac8a89c13c
parent217928ddb45a8a3b03fc1f9d3d97166f1d9a9d12
Fix incorrectly reported stats kind in "can't happen" ERROR

The error message(s) were reporting the stats kind of 'f', which is not
correct as that's for the "dependencies" statistics kind.

Reported-by: Horst Reiterer
Reviewed-by: Richard Guo
Discussion: https://postgr.es/m/18375-ba99383eb9062d6a@postgresql.org
Backpatch-through: 12, where MCV extended stats were added.
src/backend/statistics/extended_stats.c
src/backend/statistics/mcv.c