16 #include "utils/memutils.h" 31 MemoryContext oldcontext = MemoryContextSwitchTo(TopMemoryContext);
32 result = palloc(size);
33 (void) MemoryContextSwitchTo(oldcontext);
47 static char *names[] = {
48 "Undefined",
"ShmemCtl",
"Int4",
49 "Range",
"Bitmap",
"BitmapArray",
50 "BitmapHash",
"BitmapRef",
"Int4Array" 53 if ((obj < OBJ_UNDEFINED) ||
54 (obj > OBJ_INT4_ARRAY))
void * vl_malloc(size_t size)
Dynamically allocate memory using palloc in TopMemoryContext.
Provide definitions for all non-local C-callable Veil functions.
ObjType
Describes the type of an Object record or one of its subtypes.
char * vl_ObjTypeName(ObjType obj)
Return a static string describing an ObjType object.
Define all Veil public datatypes.