2
* pgsql/src/interfaces/ecpg/include/sqlda-infx-compat.h
5
#ifndef ECPG_SQLDA_COMPAT_H
6
#define ECPG_SQLDA_COMPAT_H
10
short sqltype; /* variable type */
11
int sqllen; /* length in bytes */
12
char *sqldata; /* pointer to data */
13
short *sqlind; /* pointer to indicator */
14
char *sqlname; /* variable name */
15
char *sqlformat; /* reserved for future use */
16
short sqlitype; /* ind variable type */
17
short sqlilen; /* ind length in bytes */
18
char *sqlidata; /* ind data pointer */
19
int sqlxid; /* extended id type */
20
char *sqltypename; /* extended type name */
21
short sqltypelen; /* length of extended type name */
22
short sqlownerlen; /* length of owner name */
23
short sqlsourcetype; /* source type for distinct of built-ins */
24
char *sqlownername; /* owner name */
25
int sqlsourceid; /* extended id of source type */
28
* sqlilongdata is new. It supports data that exceeds the 32k limit.
29
* sqlilen and sqlidata are for backward compatibility and they have
30
* maximum value of <32K.
32
char *sqlilongdata; /* for data field beyond 32K */
33
int sqlflags; /* for internal use only */
34
void *sqlreserved; /* reserved for future use */
40
struct sqlvar_compat *sqlvar;
41
char desc_name[19]; /* descriptor name */
42
short desc_occ; /* size of sqlda structure */
43
struct sqlda_compat *desc_next; /* pointer to next sqlda struct */
44
void *reserved; /* reserved for future use */
47
#endif /* ECPG_SQLDA_COMPAT_H */