PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | ExtensibleNodeEntry |
Functions | |
static void | RegisterExtensibleNodeEntry (HTAB **p_htable, const char *htable_label, const char *extnodename, const void *extnodemethods) |
void | RegisterExtensibleNodeMethods (const ExtensibleNodeMethods *methods) |
void | RegisterCustomScanMethods (const CustomScanMethods *methods) |
static const void * | GetExtensibleNodeEntry (HTAB *htable, const char *extnodename, bool missing_ok) |
const ExtensibleNodeMethods * | GetExtensibleNodeMethods (const char *extnodename, bool missing_ok) |
const CustomScanMethods * | GetCustomScanMethods (const char *CustomName, bool missing_ok) |
Variables | |
static HTAB * | extensible_node_methods = NULL |
static HTAB * | custom_scan_methods = NULL |
const CustomScanMethods* GetCustomScanMethods | ( | const char * | CustomName, |
bool | missing_ok | ||
) |
Definition at line 137 of file extensible.c.
References custom_scan_methods, and GetExtensibleNodeEntry().
|
static |
Definition at line 100 of file extensible.c.
References ereport, errcode(), errmsg(), ERROR, ExtensibleNodeEntry::extnodemethods, HASH_FIND, and hash_search().
Referenced by GetCustomScanMethods(), and GetExtensibleNodeMethods().
const ExtensibleNodeMethods* GetExtensibleNodeMethods | ( | const char * | extnodename, |
bool | missing_ok | ||
) |
Definition at line 125 of file extensible.c.
References extensible_node_methods, and GetExtensibleNodeEntry().
Referenced by _copyExtensibleNode(), _equalExtensibleNode(), _outExtensibleNode(), and _readExtensibleNode().
void RegisterCustomScanMethods | ( | const CustomScanMethods * | methods | ) |
Definition at line 88 of file extensible.c.
References custom_scan_methods, CustomScanMethods::CustomName, and RegisterExtensibleNodeEntry().
|
static |
Definition at line 39 of file extensible.c.
References ctl, elog, ereport, errcode(), ERRCODE_DUPLICATE_OBJECT, errmsg(), ERROR, ExtensibleNodeEntry::extnodemethods, EXTNODENAME_MAX_LEN, hash_create(), HASH_ELEM, HASH_ENTER, hash_search(), and HASH_STRINGS.
Referenced by RegisterCustomScanMethods(), and RegisterExtensibleNodeMethods().
void RegisterExtensibleNodeMethods | ( | const ExtensibleNodeMethods * | methods | ) |
Definition at line 76 of file extensible.c.
References extensible_node_methods, ExtensibleNodeMethods::extnodename, and RegisterExtensibleNodeEntry().
|
static |
Definition at line 27 of file extensible.c.
Referenced by GetCustomScanMethods(), and RegisterCustomScanMethods().
|
static |
Definition at line 26 of file extensible.c.
Referenced by GetExtensibleNodeMethods(), and RegisterExtensibleNodeMethods().