Partially undo commit 94da73281.
authorTom Lane <[email protected]>
Fri, 5 Aug 2022 19:57:46 +0000 (15:57 -0400)
committerTom Lane <[email protected]>
Fri, 5 Aug 2022 19:57:46 +0000 (15:57 -0400)
commit476f9d533084f2ad3f625b5092021b6c23c8e196
treed10064629c096e46244bab152e6fdb3ab2a49244
parentc102d1106732189de2bfeb93c11b358f9c6b4e1f
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