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

Go to the source code of this file.
Data Structures | |
| struct | LocationLen |
| struct | JumbleState |
Typedefs | |
| typedef struct LocationLen | LocationLen |
| typedef struct JumbleState | JumbleState |
Enumerations | |
| enum | ComputeQueryIdType { COMPUTE_QUERY_ID_OFF , COMPUTE_QUERY_ID_ON , COMPUTE_QUERY_ID_AUTO , COMPUTE_QUERY_ID_REGRESS } |
Functions | |
| const char * | CleanQuerytext (const char *query, int *location, int *len) |
| JumbleState * | JumbleQuery (Query *query) |
| void | EnableQueryId (void) |
| static bool | IsQueryIdEnabled (void) |
Variables | |
| PGDLLIMPORT int | compute_query_id |
| PGDLLIMPORT bool | query_id_enabled |
| typedef struct JumbleState JumbleState |
| typedef struct LocationLen LocationLen |
| enum ComputeQueryIdType |
| Enumerator | |
|---|---|
| COMPUTE_QUERY_ID_OFF | |
| COMPUTE_QUERY_ID_ON | |
| COMPUTE_QUERY_ID_AUTO | |
| COMPUTE_QUERY_ID_REGRESS | |
Definition at line 81 of file queryjumble.h.
| const char * CleanQuerytext | ( | const char * | query, |
| int * | location, | ||
| int * | len | ||
| ) |
Definition at line 86 of file queryjumblefuncs.c.
References Assert(), len, and scanner_isspace().
Referenced by pgss_store(), and script_error_callback().
| void EnableQueryId | ( | void | ) |
Definition at line 169 of file queryjumblefuncs.c.
References compute_query_id, COMPUTE_QUERY_ID_OFF, and query_id_enabled.
Referenced by _PG_init().
|
inlinestatic |
Definition at line 104 of file queryjumble.h.
References compute_query_id, COMPUTE_QUERY_ID_OFF, COMPUTE_QUERY_ID_ON, and query_id_enabled.
Referenced by ExecCreateTableAs(), ExplainOneUtility(), ExplainQuery(), JumbleQuery(), parse_analyze_fixedparams(), parse_analyze_varparams(), parse_analyze_withcb(), and PerformCursorOpen().
| JumbleState * JumbleQuery | ( | Query * | query | ) |
Definition at line 137 of file queryjumblefuncs.c.
References Assert(), DoJumble(), InitJumble(), INT64CONST, IsQueryIdEnabled(), and Query::utilityStmt.
Referenced by ExecCreateTableAs(), ExplainOneUtility(), ExplainQuery(), parse_analyze_fixedparams(), parse_analyze_varparams(), parse_analyze_withcb(), and PerformCursorOpen().
|
extern |
Definition at line 52 of file queryjumblefuncs.c.
Referenced by EnableQueryId(), ExplainPrintPlan(), and IsQueryIdEnabled().
|
extern |
Definition at line 61 of file queryjumblefuncs.c.
Referenced by EnableQueryId(), and IsQueryIdEnabled().