- Enable FETCH without INTO.
- Compatibility functions for INFORMIX handling of DECLARE statement.
- - Set ecpg version to 2.12.0.
- - Set ecpg library to 3.4.2.
+
+Sun Jun 15 11:18:58 CEST 2003
+
+ - Applied multi-threading patch by Lee Kindess <lkindness@csl.co.uk>
+ - Changed order of types in enum to make working with these easier.
+ - Set ecpg version to 3.0.0
+ - Set ecpg library to 4.0.0
- Set pgtypes library to 1.0.0
- Set compat library to 1.0.0
#
# Copyright (c) 1994, Regents of the University of California
#
-# $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.4 2003/06/15 04:07:58 momjian Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.5 2003/06/15 11:10:09 meskes Exp $
#
#-------------------------------------------------------------------------
NAME= ecpg
SO_MAJOR_VERSION= 4
-SO_MINOR_VERSION= 1.1
+SO_MINOR_VERSION= 0.1
override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include -I$(libpq_srcdir) $(CPPFLAGS) $(THREAD_CFLAGS)
{
ECPGt_char = 1, ECPGt_unsigned_char, ECPGt_short, ECPGt_unsigned_short,
ECPGt_int, ECPGt_unsigned_int, ECPGt_long, ECPGt_unsigned_long,
+ ECPGt_long_long, ECPGt_unsigned_long_long,
ECPGt_bool,
ECPGt_float, ECPGt_double,
ECPGt_varchar, ECPGt_varchar2,
+ ECPGt_numeric,
+ ECPGt_date,
+ ECPGt_timestamp,
+ ECPGt_interval,
ECPGt_array,
ECPGt_struct,
ECPGt_union,
+ ECPGt_descriptor, /* sql descriptor, no C variable */
ECPGt_char_variable,
- ECPGt_EOIT, /* End of insert types. */
- ECPGt_EORT, /* End of result types. */
- ECPGt_NO_INDICATOR, /* no indicator */
- ECPGt_long_long, ECPGt_unsigned_long_long,
- ECPGt_descriptor, /* sql descriptor, no C variable */
- ECPGt_numeric,
- ECPGt_date,
- ECPGt_timestamp,
- ECPGt_interval
+ ECPGt_EOIT, /* End of insert types. */
+ ECPGt_EORT, /* End of result types. */
+ ECPGt_NO_INDICATOR /* no indicator */
};
/* descriptor items */
ECPGd_cardinality
};
-#define IS_SIMPLE_TYPE(type) (((type) >= ECPGt_char && (type) <= ECPGt_varchar2) || ((type)>=ECPGt_long_long && (type) <= ECPGt_unsigned_long_long) || (type) >= ECPGt_numeric)
+#define IS_SIMPLE_TYPE(type) ((type) >= ECPGt_char && (type) <= ECPGt_interval)
#ifdef __cplusplus
}