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
d722927e1f
commit
0c65061de2
@ -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