aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/extern.h
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2003-11-08 19:46:27 +0000
committerMichael Meskes <meskes@postgresql.org>2003-11-08 19:46:27 +0000
commit87758314ca2719f20839169cef7e934e1b9a0600 (patch)
treeeeccd1231cd616d2089bdccb45b770098e28876d /src/interfaces/ecpg/ecpglib/extern.h
parent449593a9fb9d59bc7aa022d587b5c3360a139a28 (diff)
downloadpostgresql-87758314ca2719f20839169cef7e934e1b9a0600.tar.gz
postgresql-87758314ca2719f20839169cef7e934e1b9a0600.zip
Made sure an internal array is not treated as a user defined one.
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/extern.h')
-rw-r--r--src/interfaces/ecpg/ecpglib/extern.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/ecpglib/extern.h b/src/interfaces/ecpg/ecpglib/extern.h
index 3976d5b24db..b265247f38c 100644
--- a/src/interfaces/ecpg/ecpglib/extern.h
+++ b/src/interfaces/ecpg/ecpglib/extern.h
@@ -12,13 +12,18 @@ enum COMPAT_MODE
#define INFORMIX_MODE(X) ((X) == ECPG_COMPAT_INFORMIX || (X) == ECPG_COMPAT_INFORMIX_SE)
+enum ARRAY_TYPE
+{
+ ECPG_ARRAY_NOT_SET, ECPG_ARRAY_ARRAY, ECPG_ARRAY_VECTOR, ECPG_ARRAY_NONE
+};
+
/* Here are some methods used by the lib. */
/* Returns a pointer to a string containing a simple type name. */
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 COMPAT_MODE, bool);
+ enum ECPGttype, char *, char *, long, long, long, enum ARRAY_TYPE, enum COMPAT_MODE, bool);
struct connection *ECPGget_connection(const char *);
char *ECPGalloc(long, int);
char *ECPGrealloc(void *, long, int);