Fix uninitialized variable from commit a4d75c86b.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 9cb92334092fa75afc62a71243bbc1f4612ecfa4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2021-04-11T15:46:46Z
Releases: 14.0
Fix uninitialized variable from commit a4d75c86b.

The path for *exprs != NIL would misbehave, and likely crash,
since pull_varattnos expects its last argument to be valid
at call.

Found by Coverity --- we have no coverage of this path in
the regression tests.

Files

PathChange+/−
src/backend/statistics/extended_stats.c modified +1 −1