#include "nodes/pg_list.h"
Go to the source code of this file.
Data Structures | |
struct | EventTriggerCacheItem |
Enumerations | |
enum | EventTriggerEvent { EVT_DDLCommandStart, EVT_DDLCommandEnd, EVT_SQLDrop } |
Functions | |
List * | EventCacheLookup (EventTriggerEvent event) |
enum EventTriggerEvent |
Definition at line 19 of file evtcache.h.
{ EVT_DDLCommandStart, EVT_DDLCommandEnd, EVT_SQLDrop } EventTriggerEvent;
List* EventCacheLookup | ( | EventTriggerEvent | event | ) |
Definition at line 64 of file evtcache.c.
References BuildEventTriggerCache(), ETCS_VALID, EventTriggerCacheState, HASH_FIND, hash_search(), NULL, and EventTriggerCacheEntry::triggerlist.
Referenced by EventTriggerCommonSetup(), and trackDroppedObjectsNeeded().
{ EventTriggerCacheEntry *entry; if (EventTriggerCacheState != ETCS_VALID) BuildEventTriggerCache(); entry = hash_search(EventTriggerCache, &event, HASH_FIND, NULL); return entry != NULL ? entry->triggerlist : NULL; }