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)
commit4c81a50e5b6ea0bf2bc9896a6c89d16163598b43
tree7fb7cbb28ac31c31c7c1e3f08b6486a41a77dff4
parente33ae53ddec80c15d297a31713212c05ea7341db
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