Commit 66493dd7 authored by Tom Lane's avatar Tom Lane

Fix uninitialized variable.

Per compiler warnings.
parent 910baf0a
...@@ -981,6 +981,7 @@ ExplainNode(PlanState *planstate, List *ancestors, ...@@ -981,6 +981,7 @@ ExplainNode(PlanState *planstate, List *ancestors,
rte = rt_fetch(((SampleScan *) plan)->scanrelid, es->rtable); rte = rt_fetch(((SampleScan *) plan)->scanrelid, es->rtable);
custom_name = get_tablesample_method_name(rte->tablesample->tsmid); custom_name = get_tablesample_method_name(rte->tablesample->tsmid);
pname = psprintf("Sample Scan (%s)", custom_name); pname = psprintf("Sample Scan (%s)", custom_name);
sname = "Sample Scan";
} }
break; break;
case T_Material: case T_Material:
......
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