aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/compatlib/informix.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2003-10-03 10:07:28 +0000
committerMichael Meskes <meskes@postgresql.org>2003-10-03 10:07:28 +0000
commit1bd5e054ed24fc755c0b28a46474ad00c6c36742 (patch)
tree6608f2c57c89106b42efd57c318d209017534f80 /src/interfaces/ecpg/compatlib/informix.c
parent17f682488b747fce25c7dd449bdc1e060d44761a (diff)
downloadpostgresql-1bd5e054ed24fc755c0b28a46474ad00c6c36742.tar.gz
postgresql-1bd5e054ed24fc755c0b28a46474ad00c6c36742.zip
Hide Informix datatypes. They are not seen by our built process anymore.
Diffstat (limited to 'src/interfaces/ecpg/compatlib/informix.c')
-rw-r--r--src/interfaces/ecpg/compatlib/informix.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/compatlib/informix.c b/src/interfaces/ecpg/compatlib/informix.c
index e3559a7a4a8..63f43a7ec9b 100644
--- a/src/interfaces/ecpg/compatlib/informix.c
+++ b/src/interfaces/ecpg/compatlib/informix.c
@@ -5,9 +5,10 @@
#include <ctype.h>
#include <ecpgtype.h>
-#include <ecpg_informix.h>
+#include <compatlib.h>
#include <pgtypes_error.h>
#include <pgtypes_date.h>
+#include <pgtypes_numeric.h>
#include <sqltypes.h>
char *ECPGalloc(long, int);
@@ -886,7 +887,7 @@ rtypwidth(int sqltype, int sqllen)
}
int
-dtcvfmtasc(char *inbuf, char *fmtstr, dtime_t * dtvalue)
+dtcvfmtasc(char *inbuf, char *fmtstr, timestamp * dtvalue)
{
return PGTYPEStimestamp_defmt_asc(inbuf, fmtstr, dtvalue);
}