mirror of
https://github.com/postgres/postgres.git
synced 2026-06-11 01:30:11 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue