Skip to content

Commit d6c8b34

Browse files
committed
Fix incorrect variable type in set_rel_consider_parallel().
func_parallel() returns char not Oid. Harmless, but still wrong. Amit Langote
1 parent b57c833 commit d6c8b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/optimizer/path/allpaths.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ set_rel_consider_parallel(PlannerInfo *root, RelOptInfo *rel,
537537
*/
538538
if (rte->tablesample != NULL)
539539
{
540-
Oid proparallel = func_parallel(rte->tablesample->tsmhandler);
540+
char proparallel = func_parallel(rte->tablesample->tsmhandler);
541541

542542
if (proparallel != PROPARALLEL_SAFE)
543543
return;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy