|
PostgreSQL Source Code git master
|
#include "tcop/cmdtaglist.h"

Go to the source code of this file.
Data Structures | |
| struct | QueryCompletion |
Macros | |
| #define | COMPLETION_TAG_BUFSIZE 64 |
| #define | PG_CMDTAG(tag, name, evtrgok, rwrok, rowcnt) tag, |
Typedefs | |
| typedef enum CommandTag | CommandTag |
| typedef struct QueryCompletion | QueryCompletion |
Enumerations | |
| enum | CommandTag |
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) |
| const char * | GetCommandTagNameAndLen (CommandTag commandTag, Size *len) |
| 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) |
| Size | BuildQueryCompletionString (char *buff, const QueryCompletion *qc, bool nameonly) |
Definition at line 19 of file cmdtag.h.
|
extern |
Definition at line 121 of file cmdtag.c.
References Assert, command_tag_display_rowcount(), QueryCompletion::commandTag, COMPLETION_TAG_BUFSIZE, fb(), GetCommandTagNameAndLen(), MAXINT8LEN, QueryCompletion::nprocessed, and pg_ulltoa_n().
Referenced by EndCommand().
|
extern |
Definition at line 60 of file cmdtag.c.
References CommandTagBehavior::display_rowcount, and tag_behavior.
Referenced by BuildQueryCompletionString().
|
extern |
Definition at line 66 of file cmdtag.c.
References CommandTagBehavior::event_trigger_ok, and tag_behavior.
Referenced by EventTriggerCommonSetup(), and validate_ddl_tags().
|
extern |
Definition at line 72 of file cmdtag.c.
References CommandTagBehavior::table_rewrite_ok, and tag_behavior.
Referenced by EventTriggerCommonSetup(), and validate_table_rewrite_tags().
|
inlinestatic |
Definition at line 45 of file cmdtag.h.
References QueryCompletion::commandTag, fb(), and QueryCompletion::nprocessed.
Referenced by FillPortalStore(), PortalRun(), and PortalRunMulti().
|
extern |
Definition at line 83 of file cmdtag.c.
References fb(), lengthof, CommandTagBehavior::name, pg_strcasecmp(), and tag_behavior.
Referenced by DecodeTextArrayToBitmapset(), validate_ddl_tags(), and validate_table_rewrite_tags().
|
extern |
Definition at line 47 of file cmdtag.c.
References CommandTagBehavior::name, and tag_behavior.
Referenced by _SPI_execute_plan(), CreateCommandName(), EventTriggerCommonSetup(), interpret_AS_clause(), plperl_event_trigger_build_args(), plpgsql_fulfill_promise(), pltcl_event_trigger_handler(), PLy_exec_event_trigger(), REGRESS_utility_command(), SPI_cursor_open_internal(), and standard_ProcessUtility().
|
extern |
Definition at line 53 of file cmdtag.c.
References len, CommandTagBehavior::name, and tag_behavior.
Referenced by BuildQueryCompletionString(), exec_execute_message(), and exec_simple_query().
|
extern |
Definition at line 40 of file cmdtag.c.
References QueryCompletion::commandTag, fb(), and QueryCompletion::nprocessed.
Referenced by _SPI_execute_plan(), FillPortalStore(), and PortalRun().
|
inlinestatic |
Definition at line 37 of file cmdtag.h.
References QueryCompletion::commandTag, and QueryCompletion::nprocessed.
Referenced by ExecCreateTableAs(), PerformPortalFetch(), ProcessQuery(), RefreshMatViewByOid(), standard_ProcessUtility(), StartLogicalReplication(), and WalSndDone().