Commit d6c8b34e authored by Tom Lane's avatar Tom Lane

Fix incorrect variable type in set_rel_consider_parallel().

func_parallel() returns char not Oid.  Harmless, but still wrong.

Amit Langote
parent b57c8333
...@@ -537,7 +537,7 @@ set_rel_consider_parallel(PlannerInfo *root, RelOptInfo *rel, ...@@ -537,7 +537,7 @@ set_rel_consider_parallel(PlannerInfo *root, RelOptInfo *rel,
*/ */
if (rte->tablesample != NULL) if (rte->tablesample != NULL)
{ {
Oid proparallel = func_parallel(rte->tablesample->tsmhandler); char proparallel = func_parallel(rte->tablesample->tsmhandler);
if (proparallel != PROPARALLEL_SAFE) if (proparallel != PROPARALLEL_SAFE)
return; return;
......
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