Fix incorrect variable type in set_rel_consider_parallel().
func_parallel() returns char not Oid. Harmless, but still wrong. Amit Langote
This commit is contained in:
parent
b57c8333b5
commit
d6c8b34e95
@ -537,7 +537,7 @@ set_rel_consider_parallel(PlannerInfo *root, RelOptInfo *rel,
|
||||
*/
|
||||
if (rte->tablesample != NULL)
|
||||
{
|
||||
Oid proparallel = func_parallel(rte->tablesample->tsmhandler);
|
||||
char proparallel = func_parallel(rte->tablesample->tsmhandler);
|
||||
|
||||
if (proparallel != PROPARALLEL_SAFE)
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user