]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix uninitialized variable from commit a4d75c86b.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 11 Apr 2021 15:46:32 +0000 (11:46 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 11 Apr 2021 15:46:46 +0000 (11:46 -0400)
commit9cb92334092fa75afc62a71243bbc1f4612ecfa4
tree07a4e36c0f8be1f857888a21817694d7aef7a9f5
parent81a23dd87999ec9fb62554328c69c5b678612d56
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.
src/backend/statistics/extended_stats.c