veil_version.h

Go to the documentation of this file.
00001 /**
00002  * @file   veil_version.h
00003  * \code
00004  *     Author:       Marc Munro
00005  *     Copyright (c) 2005, 2006 Marc Munro
00006  *     License:      BSD
00007  * $Id: veil_version.h.in,v 1.7 2008/02/06 15:04:52 bloodnok Exp $
00008  * \endcode
00009  * @brief  
00010  * Provides version information for veil
00011  * 
00012  */
00013 
00014 #define VEIL_VERSION "0.9.6"
00015 #define VEIL_VERSION_INFO "Alpha"
00016 
00017 // Everything below here is automatically generated by configure.
00018 
00019 #define PG_MAJOR_VERSION 8
00020 #define PG_MINOR_VERSION 3
00021 
00022 // Define the SPI_cursor_open API for different versions of Postgres
00023 // Else-clause version is for 7.4
00024 #if PG_MAJOR_VERSION == 8
00025     #define SPI_CURSOR_OPEN(name, plan, values, nulls, ro) \
00026         SPI_cursor_open(name, plan, values, nulls, ro)
00027 #else
00028     #define SPI_CURSOR_OPEN(name,plan,values,nulls,ro) \
00029         SPI_cursor_open(name, plan, values, nulls)
00030 #endif
00031 
00032 #define PG_VERSION_GE(major,minor) \
00033     (PG_MAJOR_VERSION > major) || \
00034     ((PG_MAJOR_VERSION == major) && (PG_MINOR_VERSION >= minor))

Generated on Tue Mar 11 10:20:03 2008 for Veil by  doxygen 1.5.4