PostgreSQL Source Code git master
Loading...
Searching...
No Matches
sqlda-native.h
Go to the documentation of this file.
1/*
2 * src/interfaces/ecpg/include/sqlda-native.h
3 */
4
5#ifndef ECPG_SQLDA_NATIVE_H
6#define ECPG_SQLDA_NATIVE_H
7
8/*
9 * Maximum length for identifiers (e.g. table names, column names,
10 * function names). Names actually are limited to one fewer byte than this,
11 * because the length must include a trailing zero byte.
12 *
13 * This should be at least as much as NAMEDATALEN of the database the
14 * applications run against.
15 */
16#define NAMEDATALEN 64
17
18struct sqlname
19{
20 short length;
22};
23
25{
26 short sqltype;
27 short sqllen;
28 char *sqldata;
29 short *sqlind;
31};
32
34{
35 char sqldaid[8];
36 long sqldabc;
37 short sqln;
38 short sqld;
41};
42
43#endif /* ECPG_SQLDA_NATIVE_H */
#define NAMEDATALEN
struct sqlvar_struct sqlvar[1]
char sqldaid[8]
struct sqlda_struct * desc_next
char data[NAMEDATALEN]
short length