File: types.h

package info (click to toggle)
libdbd-pg-perl 1.49-2%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 680 kB
  • ctags: 381
  • sloc: perl: 3,921; ansic: 3,183; makefile: 99; sh: 22
file content (86 lines) | stat: -rw-r--r-- 2,821 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#ifndef DBDPGTYEPSH
#define DBDPGTYEPSH

typedef struct sql_type_info {
	int	type_id;
	char	*type_name;
	char* 	(*quote)();
	void	(*dequote)();
	union	{
			int pg;
			int sql;
	} type;
	bool	bind_ok;
} sql_type_info_t;

sql_type_info_t* pg_type_data(int);
sql_type_info_t* sql_type_data(int);

#define               ABSTIMEOID  702
#define               ACLITEMOID  1033
#define              ANYARRAYOID  2277
#define            ANYELEMENTOID  2283
#define                   ANYOID  2276
#define                   BITOID  1560
#define                  BOOLOID  16
#define                   BOXOID  603
#define                BPCHAROID  1042
#define                 BYTEAOID  17
#define                  CASHOID  790
#define                  CHAROID  18
#define                   CIDOID  29
#define                  CIDROID  650
#define                CIRCLEOID  718
#define               CSTRINGOID  2275
#define                  DATEOID  1082
#define                FLOAT4OID  700
#define                FLOAT8OID  701
#define                  INETOID  869
#define                  INT2OID  21
#define            INT2VECTOROID  22
#define             INT4ARRAYOID  1007
#define                  INT4OID  23
#define                  INT8OID  20
#define              INTERNALOID  2281
#define              INTERVALOID  1186
#define      LANGUAGE_HANDLEROID  2280
#define                  LINEOID  628
#define                  LSEGOID  601
#define               MACADDROID  829
#define                  NAMEOID  19
#define               NUMERICOID  1700
#define                   OIDOID  26
#define             OIDVECTOROID  30
#define                OPAQUEOID  2282
#define                  PATHOID  602
#define PG_ATTRIBUTE_RELTYPE_OID  75
#define     PG_CLASS_RELTYPE_OID  83
#define      PG_PROC_RELTYPE_OID  81
#define      PG_TYPE_RELTYPE_OID  71
#define                 POINTOID  600
#define               POLYGONOID  604
#define                RECORDOID  2249
#define             REFCURSOROID  1790
#define              REGCLASSOID  2205
#define           REGOPERATOROID  2204
#define               REGOPEROID  2203
#define          REGPROCEDUREOID  2202
#define               REGPROCOID  24
#define          REGTYPEARRAYOID  2211
#define               REGTYPEOID  2206
#define               RELTIMEOID  703
#define                  TEXTOID  25
#define                   TIDOID  27
#define                  TIMEOID  1083
#define             TIMESTAMPOID  1114
#define           TIMESTAMPTZOID  1184
#define                TIMETZOID  1266
#define             TINTERVALOID  704
#define               TRIGGEROID  2279
#define               UNKNOWNOID  705
#define                VARBITOID  1562
#define               VARCHAROID  1043
#define                  VOIDOID  2278
#define                   XIDOID  28

#endif