aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/include/decimal.h
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2003-07-01 12:40:52 +0000
committerMichael Meskes <meskes@postgresql.org>2003-07-01 12:40:52 +0000
commit2bdd2e5dcff20e4cf5987c901a71b794808d582b (patch)
treee158aaeb7ac2ab4db9e2e738e6be2aefa9cf4a50 /src/interfaces/ecpg/include/decimal.h
parentf973b74583c24e28ff8977d0fdd455474705604a (diff)
downloadpostgresql-2bdd2e5dcff20e4cf5987c901a71b794808d582b.tar.gz
postgresql-2bdd2e5dcff20e4cf5987c901a71b794808d582b.zip
Use ISO dates in pgtypeslib by default.
Applied patch by Philip Yarra to fix some thread issues. Added a new data type "decimal" which is mostly the same as our "numeric" but uses a fixed length array to store the digits. This is for compatibility with Informix and maybe others.
Diffstat (limited to 'src/interfaces/ecpg/include/decimal.h')
-rw-r--r--src/interfaces/ecpg/include/decimal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/include/decimal.h b/src/interfaces/ecpg/include/decimal.h
index acbb758814a..e0cb06bd5c8 100644
--- a/src/interfaces/ecpg/include/decimal.h
+++ b/src/interfaces/ecpg/include/decimal.h
@@ -1,7 +1,7 @@
#include <pgtypes_numeric.h>
#ifndef dec_t
-#define dec_t Numeric
+#define dec_t Decimal
#endif /* dec_t */
int decadd(dec_t *, dec_t *, dec_t *);