PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | CommandTagBehavior |
Macros | |
#define | PG_CMDTAG(tag, name, evtrgok, rwrok, rowcnt) { name, evtrgok, rwrok, rowcnt }, |
Typedefs | |
typedef struct CommandTagBehavior | CommandTagBehavior |
Functions | |
void | InitializeQueryCompletion (QueryCompletion *qc) |
const char * | GetCommandTagName (CommandTag commandTag) |
bool | command_tag_display_rowcount (CommandTag commandTag) |
bool | command_tag_event_trigger_ok (CommandTag commandTag) |
bool | command_tag_table_rewrite_ok (CommandTag commandTag) |
CommandTag | GetCommandTagEnum (const char *commandname) |
Variables | |
const CommandTagBehavior | tag_behavior [COMMAND_TAG_NEXTTAG] |
typedef struct CommandTagBehavior CommandTagBehavior |
bool command_tag_display_rowcount | ( | CommandTag | commandTag | ) |
Definition at line 51 of file cmdtag.c.
References CommandTagBehavior::display_rowcount.
Referenced by CopyQueryCompletion(), and EndCommand().
bool command_tag_event_trigger_ok | ( | CommandTag | commandTag | ) |
Definition at line 57 of file cmdtag.c.
References CommandTagBehavior::event_trigger_ok.
Referenced by CopyQueryCompletion(), EventTriggerCommonSetup(), and validate_ddl_tags().
bool command_tag_table_rewrite_ok | ( | CommandTag | commandTag | ) |
Definition at line 63 of file cmdtag.c.
References CommandTagBehavior::table_rewrite_ok.
Referenced by CopyQueryCompletion(), EventTriggerCommonSetup(), and validate_table_rewrite_tags().
CommandTag GetCommandTagEnum | ( | const char * | commandname | ) |
Definition at line 74 of file cmdtag.c.
References lengthof, CommandTagBehavior::name, pg_strcasecmp(), and tag_behavior.
Referenced by CopyQueryCompletion(), DecodeTextArrayToBitmapset(), validate_ddl_tags(), and validate_table_rewrite_tags().
const char* GetCommandTagName | ( | CommandTag | commandTag | ) |
Definition at line 45 of file cmdtag.c.
References CommandTagBehavior::name.
Referenced by CopyQueryCompletion(), CreateCommandName(), EndCommand(), EventTriggerCommonSetup(), exec_execute_message(), exec_simple_query(), plperl_event_trigger_build_args(), plpgsql_fulfill_promise(), pltcl_event_trigger_handler(), SPI_cursor_open_internal(), and standard_ProcessUtility().
void InitializeQueryCompletion | ( | QueryCompletion * | qc | ) |
Definition at line 38 of file cmdtag.c.
References QueryCompletion::commandTag, and QueryCompletion::nprocessed.
Referenced by _SPI_execute_plan(), CopyQueryCompletion(), FillPortalStore(), and PortalRun().
const CommandTagBehavior tag_behavior[COMMAND_TAG_NEXTTAG] |
Definition at line 31 of file cmdtag.c.
Referenced by GetCommandTagEnum().