17#define COMPLETION_TAG_BUFSIZE 64
19#define PG_CMDTAG(tag, name, evtrgok, rwrok, rowcnt) \
const char * GetCommandTagNameAndLen(CommandTag commandTag, Size *len)
void InitializeQueryCompletion(QueryCompletion *qc)
const char * GetCommandTagName(CommandTag commandTag)
struct QueryCompletion QueryCompletion
static void SetQueryCompletion(QueryCompletion *qc, CommandTag commandTag, uint64 nprocessed)
static void CopyQueryCompletion(QueryCompletion *dst, const QueryCompletion *src)
CommandTag GetCommandTagEnum(const char *commandname)
bool command_tag_event_trigger_ok(CommandTag commandTag)
bool command_tag_table_rewrite_ok(CommandTag commandTag)
bool command_tag_display_rowcount(CommandTag commandTag)
Size BuildQueryCompletionString(char *buff, const QueryCompletion *qc, bool nameonly)