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

Go to the source code of this file.
Functions | |
| int | GetPlannerExtensionId (const char *extension_name) |
| static void * | GetPlannerGlobalExtensionState (PlannerGlobal *glob, int extension_id) |
| static void * | GetPlannerInfoExtensionState (PlannerInfo *root, int extension_id) |
| static void * | GetRelOptInfoExtensionState (RelOptInfo *rel, int extension_id) |
| void | SetPlannerGlobalExtensionState (PlannerGlobal *glob, int extension_id, void *opaque) |
| void | SetPlannerInfoExtensionState (PlannerInfo *root, int extension_id, void *opaque) |
| void | SetRelOptInfoExtensionState (RelOptInfo *rel, int extension_id, void *opaque) |
| int GetPlannerExtensionId | ( | const char * | extension_name | ) |
Definition at line 41 of file extendplan.c.
References i, MemoryContextAlloc(), pg_nextpower2_32(), PlannerExtensionNameArray, PlannerExtensionNamesAllocated, PlannerExtensionNamesAssigned, repalloc(), and TopMemoryContext.
Referenced by geqo().
|
inlinestatic |
Definition at line 25 of file extendplan.h.
References Assert(), and PlannerGlobal::extension_state_allocated.
|
inlinestatic |
Definition at line 39 of file extendplan.h.
References Assert(), and root.
Referenced by GetGeqoPrivateData().
|
inlinestatic |
Definition at line 53 of file extendplan.h.
References Assert(), and RelOptInfo::extension_state_allocated.
| void SetPlannerGlobalExtensionState | ( | PlannerGlobal * | glob, |
| int | extension_id, | ||
| void * | opaque | ||
| ) |
Definition at line 77 of file extendplan.c.
References Assert(), PlannerGlobal::extension_state_allocated, GetMemoryChunkContext(), i, Max, MemoryContextAllocZero(), pg_nextpower2_32(), and repalloc0().
| void SetPlannerInfoExtensionState | ( | PlannerInfo * | root, |
| int | extension_id, | ||
| void * | opaque | ||
| ) |
Definition at line 115 of file extendplan.c.
References Assert(), i, Max, MemoryContextAllocZero(), pg_nextpower2_32(), repalloc0(), and root.
Referenced by geqo().
| void SetRelOptInfoExtensionState | ( | RelOptInfo * | rel, |
| int | extension_id, | ||
| void * | opaque | ||
| ) |
Definition at line 151 of file extendplan.c.
References Assert(), RelOptInfo::extension_state_allocated, GetMemoryChunkContext(), i, Max, MemoryContextAllocZero(), pg_nextpower2_32(), and repalloc0().