mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Fix uninitialized variable.
Per compiler warnings.
This commit is contained in:
parent
910baf0a96
commit
66493dd7aa
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user