projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
910baf0
)
Fix uninitialized variable.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Fri, 15 May 2015 19:45:20 +0000
(15:45 -0400)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Fri, 15 May 2015 19:45:28 +0000
(15:45 -0400)
Per compiler warnings.
src/backend/commands/explain.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/explain.c
b/src/backend/commands/explain.c
index 478771c6ba17b50811031b8647718fe2a1b27040..2e4df5fcfefafbe8ec786a2f55b2f96fa2c442fb 100644
(file)
--- a/
src/backend/commands/explain.c
+++ b/
src/backend/commands/explain.c
@@
-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: