veil_datatypes.c File Reference


Detailed Description

Code for non-bitmap datatypes.

     Author:       Marc Munro
     Copyright (c) 2005 - 2011 Marc Munro
     License:      BSD

Definition in file veil_datatypes.c.

#include "postgres.h"
#include "veil_datatypes.h"
#include "veil_funcs.h"

Include dependency graph for veil_datatypes.c:

Go to the source code of this file.

Functions

Rangevl_NewRange (bool shared)
 Create a new session or shared Range object.
Int4Varvl_NewInt4 (bool shared)
 Create a new session or shared Int4Var object.


Function Documentation

Range* vl_NewRange ( bool  shared  ) 

Create a new session or shared Range object.

Parameters:
shared Whether the object is to be created in shared (true) or session (false) memory.
Returns:
Pointer to newly created object.

Definition at line 28 of file veil_datatypes.c.

References Range::type, vl_malloc(), and vl_shmalloc().

Referenced by deserialise_range().

Here is the call graph for this function:

Int4Var* vl_NewInt4 ( bool  shared  ) 

Create a new session or shared Int4Var object.

Parameters:
shared Whether the object is to be created in shared (true) or session (false) memory.
Returns:
Pointer to newly created object.

Definition at line 52 of file veil_datatypes.c.

References Int4Var::isnull, Int4Var::type, vl_malloc(), and vl_shmalloc().

Referenced by deserialise_int4var().

Here is the call graph for this function:


Generated on Mon Sep 12 15:26:46 2011 for Veil by  doxygen 1.5.6