PostgreSQL Source Code
git master
sql3types.h
Go to the documentation of this file.
1
#ifndef _ECPG_SQL3TYPES_H
2
#define _ECPG_SQL3TYPES_H
3
4
/* SQL3 dynamic type codes */
5
6
/* chapter 13.1 table 2: Codes used for SQL data types in Dynamic SQL */
7
8
enum
9
{
10
SQL3_CHARACTER
= 1,
11
SQL3_NUMERIC
,
12
SQL3_DECIMAL
,
13
SQL3_INTEGER
,
14
SQL3_SMALLINT
,
15
SQL3_FLOAT
,
16
SQL3_REAL
,
17
SQL3_DOUBLE_PRECISION
,
18
SQL3_DATE_TIME_TIMESTAMP
,
19
SQL3_INTERVAL
,
/* 10 */
20
SQL3_CHARACTER_VARYING
= 12,
21
SQL3_ENUMERATED
,
22
SQL3_BIT
,
23
SQL3_BIT_VARYING
,
24
SQL3_BOOLEAN
,
25
SQL3_abstract
26
/* the rest is xLOB stuff */
27
};
28
29
/* chapter 13.1 table 3: Codes associated with datetime data types in Dynamic SQL */
30
31
enum
32
{
33
SQL3_DDT_DATE
= 1,
34
SQL3_DDT_TIME
,
35
SQL3_DDT_TIMESTAMP
,
36
SQL3_DDT_TIME_WITH_TIME_ZONE
,
37
SQL3_DDT_TIMESTAMP_WITH_TIME_ZONE
,
38
39
SQL3_DDT_ILLEGAL
/* not a datetime data type (not part of
40
* standard) */
41
};
42
43
#endif
/* !_ECPG_SQL3TYPES_H */
SQL3_DDT_TIME_WITH_TIME_ZONE
@ SQL3_DDT_TIME_WITH_TIME_ZONE
Definition:
sql3types.h:36
SQL3_DDT_DATE
@ SQL3_DDT_DATE
Definition:
sql3types.h:33
SQL3_DDT_TIMESTAMP
@ SQL3_DDT_TIMESTAMP
Definition:
sql3types.h:35
SQL3_DDT_ILLEGAL
@ SQL3_DDT_ILLEGAL
Definition:
sql3types.h:39
SQL3_DDT_TIMESTAMP_WITH_TIME_ZONE
@ SQL3_DDT_TIMESTAMP_WITH_TIME_ZONE
Definition:
sql3types.h:37
SQL3_DDT_TIME
@ SQL3_DDT_TIME
Definition:
sql3types.h:34
SQL3_DATE_TIME_TIMESTAMP
@ SQL3_DATE_TIME_TIMESTAMP
Definition:
sql3types.h:18
SQL3_FLOAT
@ SQL3_FLOAT
Definition:
sql3types.h:15
SQL3_INTEGER
@ SQL3_INTEGER
Definition:
sql3types.h:13
SQL3_BIT_VARYING
@ SQL3_BIT_VARYING
Definition:
sql3types.h:23
SQL3_abstract
@ SQL3_abstract
Definition:
sql3types.h:25
SQL3_BOOLEAN
@ SQL3_BOOLEAN
Definition:
sql3types.h:24
SQL3_CHARACTER_VARYING
@ SQL3_CHARACTER_VARYING
Definition:
sql3types.h:20
SQL3_BIT
@ SQL3_BIT
Definition:
sql3types.h:22
SQL3_SMALLINT
@ SQL3_SMALLINT
Definition:
sql3types.h:14
SQL3_INTERVAL
@ SQL3_INTERVAL
Definition:
sql3types.h:19
SQL3_DOUBLE_PRECISION
@ SQL3_DOUBLE_PRECISION
Definition:
sql3types.h:17
SQL3_NUMERIC
@ SQL3_NUMERIC
Definition:
sql3types.h:11
SQL3_ENUMERATED
@ SQL3_ENUMERATED
Definition:
sql3types.h:21
SQL3_DECIMAL
@ SQL3_DECIMAL
Definition:
sql3types.h:12
SQL3_CHARACTER
@ SQL3_CHARACTER
Definition:
sql3types.h:10
SQL3_REAL
@ SQL3_REAL
Definition:
sql3types.h:16
src
interfaces
ecpg
include
sql3types.h
Generated on Fri Oct 11 2024 12:13:25 for PostgreSQL Source Code by
1.9.1