Content-Length: 258490 | pFad | http://github.com/postgrespro/postgres_cluster/commit/d6c8b34e956864d52780f0db9f8cfe3b2f4411b0

49 Fix incorrect variable type in set_rel_consider_parallel(). · postgrespro/postgres_cluster@d6c8b34 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/d6c8b34e956864d52780f0db9f8cfe3b2f4411b0

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy