PostgreSQL Source Code
git master
|
#include "tcop/cmdtaglist.h"
Go to the source code of this file.
Data Structures | |
struct | QueryCompletion |
Macros | |
#define | PG_CMDTAG(tag, name, evtrgok, rwrok, rowcnt) tag, |
Typedefs | |
typedef enum CommandTag | CommandTag |
typedef struct QueryCompletion | QueryCompletion |
Enumerations | |
enum | CommandTag { COMMAND_TAG_NEXTTAG } |
Functions | |
static void | SetQueryCompletion (QueryCompletion *qc, CommandTag commandTag, uint64 nprocessed) |
static void | CopyQueryCompletion (QueryCompletion *dst, const QueryCompletion *src) |
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 *tagname) |
#define PG_CMDTAG | ( | tag, | |
name, | |||
evtrgok, | |||
rwrok, | |||
rowcnt | |||
) | tag, |
typedef enum CommandTag CommandTag |
typedef struct QueryCompletion QueryCompletion |
enum CommandTag |
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().
|
inlinestatic |
Definition at line 44 of file cmdtag.h.
References command_tag_display_rowcount(), command_tag_event_trigger_ok(), command_tag_table_rewrite_ok(), QueryCompletion::commandTag, GetCommandTagEnum(), GetCommandTagName(), InitializeQueryCompletion(), and QueryCompletion::nprocessed.
Referenced by FillPortalStore(), PortalRun(), and PortalRunMulti().
CommandTag GetCommandTagEnum | ( | const char * | tagname | ) |
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().
|
inlinestatic |
Definition at line 36 of file cmdtag.h.
References QueryCompletion::commandTag, and QueryCompletion::nprocessed.
Referenced by ExecCreateTableAs(), ExecRefreshMatView(), PerformPortalFetch(), ProcessQuery(), standard_ProcessUtility(), StartLogicalReplication(), and WalSndDone().