aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/include/ecpglib.h
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2003-06-25 10:44:21 +0000
committerMichael Meskes <meskes@postgresql.org>2003-06-25 10:44:21 +0000
commitfd3ca524ebb12acaf582e60366fe39a58b4bd0a4 (patch)
treecdcfc49d8ba45a4cd88fe14f0de8441679ffe6e3 /src/interfaces/ecpg/include/ecpglib.h
parentff4c69e02183e5330529990871f2c4dfb745a838 (diff)
downloadpostgresql-fd3ca524ebb12acaf582e60366fe39a58b4bd0a4.tar.gz
postgresql-fd3ca524ebb12acaf582e60366fe39a58b4bd0a4.zip
Implemented Informix special way to treat NULLs, removed warnings, synced.
Diffstat (limited to 'src/interfaces/ecpg/include/ecpglib.h')
-rw-r--r--src/interfaces/ecpg/include/ecpglib.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/interfaces/ecpg/include/ecpglib.h b/src/interfaces/ecpg/include/ecpglib.h
index ae272927c6f..66985bf3b60 100644
--- a/src/interfaces/ecpg/include/ecpglib.h
+++ b/src/interfaces/ecpg/include/ecpglib.h
@@ -45,12 +45,12 @@ void ECPGdebug(int, FILE *);
bool ECPGstatus(int, const char *);
bool ECPGsetcommit(int, const char *, const char *);
bool ECPGsetconn(int, const char *);
-bool ECPGconnect(int, const char *, const char *, const char *, const char *, int);
-bool ECPGdo(int, const char *, char *,...);
+bool ECPGconnect(int, int, const char *, const char *, const char *, const char *, int);
+bool ECPGdo(int, int, int, const char *, char *,...);
bool ECPGtrans(int, const char *, const char *);
bool ECPGdisconnect(int, const char *);
bool ECPGprepare(int, char *, char *);
-bool ECPGdeallocate(int, char *);
+bool ECPGdeallocate(int, int, char *);
bool ECPGdeallocate_one(int, char *);
bool ECPGdeallocate_all(int);
char *ECPGprepared_statement(char *);
@@ -75,13 +75,13 @@ void ECPGraise(int line, int code, const char *str);
bool ECPGget_desc_header(int, char *, int *);
bool ECPGget_desc(int, char *, int,...);
+void ECPGset_informix_null(enum ECPGttype, void *);
+bool ECPGis_informix_null(enum ECPGttype, void *);
bool ECPGdescribe(int, bool, const char *, ...);
/* dynamic result allocation */
void ECPGfree_auto_mem(void);
-enum COMPAT_MODE { ECPG_COMPAT_PGSQL = 0, ECPG_COMPAT_INFORMIX};
-
#ifdef __cplusplus
}