]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Partially undo commit 94da73281.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 5 Aug 2022 19:57:46 +0000 (15:57 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 5 Aug 2022 19:57:46 +0000 (15:57 -0400)
commitb9243cadad55e296e83839fb96457f64dcaaeb25
treefe728522c50ec6989f900cc2514465a4ab239953
parent3fe2fc6bbdb251c78a88cdd41e400014be76f80e
Partially undo commit 94da73281.

On closer inspection, mcv.c isn't as broken for ScalarArrayOpExpr
as I thought.  The Var-on-right issue is real enough, but actually
it does cope fine with a NULL array constant --- I was misled by
an XXX comment suggesting it didn't.  Undo that part of the code
change, and replace the XXX comment with something less misleading.
src/backend/statistics/extended_stats.c
src/backend/statistics/mcv.c