PostgreSQL Source Code
git master
|
#include "postgres.h"
#include <limits.h>
#include "optimizer/planner.h"
#include "utils/fmgrprotos.h"
#include "utils/guc.h"
#include "utils/inval.h"
Go to the source code of this file.
Functions | |
static PlannedStmt * | delay_execution_planner (Query *parse, const char *query_string, int cursorOptions, ParamListInfo boundParams) |
void | _PG_init (void) |
Variables | |
PG_MODULE_MAGIC | |
static int | post_planning_lock_id = 0 |
static planner_hook_type | prev_planner_hook = NULL |
void _PG_init | ( | void | ) |
Definition at line 75 of file delay_execution.c.
References DefineCustomIntVariable(), delay_execution_planner(), MarkGUCPrefixReserved(), PGC_USERSET, planner_hook, post_planning_lock_id, and prev_planner_hook.
|
static |
Definition at line 42 of file delay_execution.c.
References AcceptInvalidationMessages(), DirectFunctionCall1, Int64GetDatum(), parse(), pg_advisory_lock_int8(), pg_advisory_unlock_int8(), post_planning_lock_id, prev_planner_hook, and standard_planner().
Referenced by _PG_init().
PG_MODULE_MAGIC |
Definition at line 31 of file delay_execution.c.
|
static |
Definition at line 34 of file delay_execution.c.
Referenced by _PG_init(), and delay_execution_planner().
|
static |
Definition at line 37 of file delay_execution.c.
Referenced by _PG_init(), and delay_execution_planner().