Skip to content

Commit b0cf333

Browse files
committed
[pgpathman]: Add PGDLLIMPORT for max_parallel_workers_per_gather and min_parallel_relation_size
1 parent 8acb8f1 commit b0cf333

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/include/optimizer/cost.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ extern PGDLLIMPORT double parallel_tuple_cost;
5454
extern PGDLLIMPORT double parallel_setup_cost;
5555
extern PGDLLIMPORT int effective_cache_size;
5656
extern Cost disable_cost;
57-
extern int max_parallel_workers_per_gather;
57+
extern PGDLLIMPORT int max_parallel_workers_per_gather;
5858
extern bool enable_seqscan;
5959
extern bool enable_indexscan;
6060
extern bool enable_indexonlyscan;

src/include/optimizer/paths.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*/
2323
extern bool enable_geqo;
2424
extern int geqo_threshold;
25-
extern int min_parallel_relation_size;
25+
extern PGDLLIMPORT int min_parallel_relation_size;
2626

2727
/* Hook for plugins to get control in set_rel_pathlist() */
2828
typedef void (*set_rel_pathlist_hook_type) (PlannerInfo *root,

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