diff options
| author | Michael Meskes <meskes@postgresql.org> | 2003-06-25 10:44:21 +0000 |
|---|---|---|
| committer | Michael Meskes <meskes@postgresql.org> | 2003-06-25 10:44:21 +0000 |
| commit | fd3ca524ebb12acaf582e60366fe39a58b4bd0a4 (patch) | |
| tree | cdcfc49d8ba45a4cd88fe14f0de8441679ffe6e3 /src/interfaces/ecpg/ecpglib/extern.h | |
| parent | ff4c69e02183e5330529990871f2c4dfb745a838 (diff) | |
Implemented Informix special way to treat NULLs, removed warnings, synced.
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/extern.h')
| -rw-r--r-- | src/interfaces/ecpg/ecpglib/extern.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/ecpglib/extern.h b/src/interfaces/ecpg/ecpglib/extern.h index a43526c7603..a7f37491da8 100644 --- a/src/interfaces/ecpg/ecpglib/extern.h +++ b/src/interfaces/ecpg/ecpglib/extern.h @@ -5,6 +5,8 @@ #include "libpq-fe.h" #include "sqlca.h" +enum COMPAT_MODE { ECPG_COMPAT_PGSQL = 0, ECPG_COMPAT_INFORMIX}; + /* Here are some methods used by the lib. */ /* Stores the backend error message for client access */ @@ -18,7 +20,7 @@ char *ECPGerrmsg(void); void ECPGadd_mem(void *ptr, int lineno); bool ECPGget_data(const PGresult *, int, int, int, enum ECPGttype type, - enum ECPGttype, char *, char *, long, long, long, bool); + enum ECPGttype, char *, char *, long, long, long, bool, enum COMPAT_MODE, bool); struct connection *ECPGget_connection(const char *); char *ECPGalloc(long, int); char *ECPGrealloc(void *, long, int); @@ -54,6 +56,8 @@ struct statement int lineno; char *command; struct connection *connection; + enum COMPAT_MODE compat; + bool force_indicator; struct variable *inlist; struct variable *outlist; }; |
