mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03: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:
@ -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;
|
||||||
|
Reference in New Issue
Block a user