Commit b6576e59 authored by Tom Lane's avatar Tom Lane

Fix possibly-uninitialized variable.

Oversight in e2d4ef8d et al (my fault not Peter's).  Per buildfarm.

Security: CVE-2017-7484
parent 3eefc510
......@@ -374,8 +374,8 @@ calc_hist_selectivity(TypeCacheEntry *typcache, VariableStatData *vardata,
{
Datum *hist_values;
int nhist;
Datum *length_hist_values;
int length_nhist;
Datum *length_hist_values = NULL;
int length_nhist = 0;
RangeBound *hist_lower;
RangeBound *hist_upper;
int i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment