aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2001-03-29 09:59:00 +0000
committerMichael Meskes <meskes@postgresql.org>2001-03-29 09:59:00 +0000
commit827edf20765cda3640002b6c17d04dcd944ec3a3 (patch)
tree9306143b7ba27b530000aee40e08a336dbb5d0f8 /src
parenta27860cf59b2497650fbc2d91107868fb1c20a8c (diff)
downloadpostgresql-827edf20765cda3640002b6c17d04dcd944ec3a3.tar.gz
postgresql-827edf20765cda3640002b6c17d04dcd944ec3a3.zip
Applied bug fix by Adriaan Joubert <a.joubert@albourne.com>
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/ecpg/ChangeLog4
-rw-r--r--src/interfaces/ecpg/include/ecpgtype.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/ChangeLog b/src/interfaces/ecpg/ChangeLog
index 1ae8f7a9d44..4d8f038ce26 100644
--- a/src/interfaces/ecpg/ChangeLog
+++ b/src/interfaces/ecpg/ChangeLog
@@ -1059,5 +1059,9 @@ Mon Feb 19 08:25:14 CET 2001
Mon Feb 26 15:22:04 CET 2001
- Fixed misplaced variables FoundInto and QueryIsRule.
+
+Don Mar 29 10:23:05 CEST 2001
+
+ - Applied bug fix in ecpgtype.h by Adriaan Joubert.
- Set ecpg version to 2.8.0.
- Set library version to 3.2.0.
diff --git a/src/interfaces/ecpg/include/ecpgtype.h b/src/interfaces/ecpg/include/ecpgtype.h
index e097debeed6..b061d7d6c20 100644
--- a/src/interfaces/ecpg/include/ecpgtype.h
+++ b/src/interfaces/ecpg/include/ecpgtype.h
@@ -70,7 +70,7 @@ extern "C"
ECPGd_EODT /* End of descriptor types. */
};
-#define IS_SIMPLE_TYPE(type) ((type) >= ECPGt_char && (type) <= ECPGt_varchar2)
+#define IS_SIMPLE_TYPE(type) (((type) >= ECPGt_char && (type) <= ECPGt_varchar2) || (type)>=ECPGt_long_long)
#ifdef __cplusplus
}