Fix uninitialized variable.

Per compiler warnings.
This commit is contained in:
Tom Lane 2015-05-15 15:45:20 -04:00
parent 910baf0a96
commit 66493dd7aa
1 changed files with 1 additions and 0 deletions

View File

@ -981,6 +981,7 @@ ExplainNode(PlanState *planstate, List *ancestors,
rte = rt_fetch(((SampleScan *) plan)->scanrelid, es->rtable);
custom_name = get_tablesample_method_name(rte->tablesample->tsmid);
pname = psprintf("Sample Scan (%s)", custom_name);
sname = "Sample Scan";
}
break;
case T_Material: