|
PostgreSQL Source Code git master
|
#include "nodes/plannodes.h"

Go to the source code of this file.
Data Structures | |
| struct | pgpa_join_member |
| struct | pgpa_unrolled_join |
Macros | |
| #define | NUM_PGPA_JOIN_STRATEGY ((int) JSTRAT_HASH_JOIN + 1) |
Typedefs | |
| typedef struct pgpa_plan_walker_context | pgpa_plan_walker_context |
| typedef struct pgpa_join_unroller | pgpa_join_unroller |
| typedef struct pgpa_unrolled_join | pgpa_unrolled_join |
Enumerations | |
| enum | pgpa_join_strategy { JSTRAT_MERGE_JOIN_PLAIN = 0 , JSTRAT_MERGE_JOIN_MATERIALIZE , JSTRAT_NESTED_LOOP_PLAIN , JSTRAT_NESTED_LOOP_MATERIALIZE , JSTRAT_NESTED_LOOP_MEMOIZE , JSTRAT_HASH_JOIN } |
| #define NUM_PGPA_JOIN_STRATEGY ((int) JSTRAT_HASH_JOIN + 1) |
Definition at line 38 of file pgpa_join.h.
Definition at line 18 of file pgpa_join.h.
Definition at line 17 of file pgpa_join.h.
Definition at line 19 of file pgpa_join.h.
| Enumerator | |
|---|---|
| JSTRAT_MERGE_JOIN_PLAIN | |
| JSTRAT_MERGE_JOIN_MATERIALIZE | |
| JSTRAT_NESTED_LOOP_PLAIN | |
| JSTRAT_NESTED_LOOP_MATERIALIZE | |
| JSTRAT_NESTED_LOOP_MEMOIZE | |
| JSTRAT_HASH_JOIN | |
Definition at line 27 of file pgpa_join.h.
|
extern |
Definition at line 230 of file pgpa_join.c.
References Assert, fb(), i, palloc0_array, palloc0_object, pgpa_build_scan(), and pgpa_build_unrolled_join().
Referenced by pgpa_build_unrolled_join(), and pgpa_walk_recursively().
|
extern |
Definition at line 64 of file pgpa_join.c.
References fb(), pgpa_join_unroller::nallocated, palloc0_object, and palloc_array.
Referenced by pgpa_unroll_join(), and pgpa_walk_recursively().
|
extern |
Definition at line 90 of file pgpa_join.h.
Referenced by pgpa_unroll_join(), and pgpa_walk_recursively().
|
extern |
Definition at line 105 of file pgpa_join.c.
References Assert, fb(), is_result_node_with_child(), is_sorting_plan(), IsA, pgpa_join_unroller::nallocated, pgpa_create_join_unroller(), pgpa_decompose_join(), pgpa_is_join(), plan, and repalloc_array.
Referenced by pgpa_walk_recursively().