Author: Marc Munro Copyright (c) 2005, 2006 Marc Munro License: BSD $Id: veil_shmem.h,v 1.2 2006/11/01 00:08:55 bloodnok Exp $
Definition in file veil_shmem.h.
#include "utils/hsearch.h"
#include "storage/lwlock.h"
Go to the source code of this file.
Data Structures | |
struct | MemChunk |
struct | MemContext |
struct | Object |
struct | ShmemCtl |
struct | Int4Var |
struct | Range |
struct | Bitmap |
struct | BitmapRef |
struct | BitmapArray |
struct | BitmapHash |
struct | Int4Array |
struct | VarEntry |
struct | veil_variable_t |
Defines | |
#define | VEIL_DATATYPES 1 |
#define | CHUNK_SIZE 8192 |
#define | MAX_ALLOWED_SHMEM CHUNK_SIZE * 100 |
#define | HASH_KEYLEN 60 |
Enumerations | |
enum | ObjType { OBJ_UNDEFINED = 0, OBJ_SHMEMCTL, OBJ_INT4, OBJ_RANGE, OBJ_BITMAP, OBJ_BITMAP_ARRAY, OBJ_BITMAP_HASH, OBJ_BITMAP_REF, OBJ_INT4_ARRAY, OBJ_UNDEFINED = 0, OBJ_SHMEMCTL, OBJ_INT4, OBJ_RANGE, OBJ_BITMAP, OBJ_BITMAP_ARRAY, OBJ_BITMAP_HASH, OBJ_BITMAP_REF, OBJ_INT4_ARRAY } |
#define CHUNK_SIZE 8192 |
Chunks od shared memory are allocated in multiples of this size.
Definition at line 23 of file veil_shmem.h.
#define HASH_KEYLEN 60 |
The key length for veil hash types.
Definition at line 73 of file veil_shmem.h.
#define MAX_ALLOWED_SHMEM CHUNK_SIZE * 100 |
Limits the total amount of memory available for veil shared variables.
Definition at line 29 of file veil_shmem.h.
enum ObjType |
Describes the type of an Object record or one of its subtypes.
Definition at line 79 of file veil_shmem.h.