source: branches/4.x/pgtypes.h @ 711

Last change on this file since 711 was 711, checked in by cito, 3 years ago

Flatten the directory structure of the project

Simplified the directory structure by flattening the "module" subdirectory out
to the root directory. That way, the setup.py script can now also access the
top-level docs subdirectory, so it could also install or build the docs.
There was nothing else in the root directory anyway, except the mkdocs and
mktar scripts which could be made unnecessary through setup.py.

Also made the setup script a bit clearer. Removed the note about MinGW for
Windows since the Microsoft compiler for Python 2.7 and Visual Studio Community
are now freely available including 64bit compilers, and produce less problems.

Note that the usual structure would have been to use a "pygresql" package
directory instead of the "module" directory. But since we install PyGreSQL
as two top-level modules "pg" and "pgdb" instead of a package "pygresql",
the flattened structure reflects that much better. For historical reasons
and people don't want to rewrite import statements, we will keep it that way.

File size: 2.0 KB
Line 
1/*
2        pgtypes - PostgreSQL type definitions
3
4        These are the standard PostgreSQL built-in types,
5        extracted from catalog/pg_type.h Revision 1.212,
6        because that header file is sometimes not availale
7        or needs other header files to get properly included.
8        You can also query pg_type to get this information.
9*/
10
11#ifndef PG_TYPE_H
12
13#define BOOLOID 16
14#define BYTEAOID 17
15#define CHAROID 18
16#define NAMEOID 19
17#define INT8OID 20
18#define INT2OID 21
19#define INT2VECTOROID 22
20#define INT4OID 23
21#define REGPROCOID 24
22#define TEXTOID 25
23#define OIDOID 26
24#define TIDOID 27
25#define XIDOID 28
26#define CIDOID 29
27#define OIDVECTOROID 30
28#define XMLOID 142
29#define POINTOID 600
30#define LSEGOID 601
31#define PATHOID 602
32#define BOXOID 603
33#define POLYGONOID 604
34#define LINEOID 628
35#define FLOAT4OID 700
36#define FLOAT8OID 701
37#define ABSTIMEOID 702
38#define RELTIMEOID 703
39#define TINTERVALOID 704
40#define UNKNOWNOID 705
41#define CIRCLEOID 718
42#define CASHOID 790
43#define MACADDROID 829
44#define INETOID 869
45#define CIDROID 650
46#define INT4ARRAYOID 1007
47#define TEXTARRAYOID 1009
48#define FLOAT4ARRAYOID 1021
49#define ACLITEMOID 1033
50#define CSTRINGARRAYOID 1263
51#define BPCHAROID 1042
52#define VARCHAROID 1043
53#define DATEOID 1082
54#define TIMEOID 1083
55#define TIMESTAMPOID 1114
56#define TIMESTAMPTZOID 1184
57#define INTERVALOID 1186
58#define TIMETZOID 1266
59#define BITOID 1560
60#define VARBITOID 1562
61#define NUMERICOID 1700
62#define REFCURSOROID 1790
63#define REGPROCEDUREOID 2202
64#define REGOPEROID 2203
65#define REGOPERATOROID 2204
66#define REGCLASSOID 2205
67#define REGTYPEOID 2206
68#define REGTYPEARRAYOID 2211
69#define TSVECTOROID 3614
70#define GTSVECTOROID 3642
71#define TSQUERYOID 3615
72#define REGCONFIGOID 3734
73#define REGDICTIONARYOID 3769
74#define RECORDOID 2249
75#define RECORDARRAYOID 2287
76#define CSTRINGOID 2275
77#define ANYOID 2276
78#define ANYARRAYOID 2277
79#define VOIDOID 2278
80#define TRIGGEROID 2279
81#define LANGUAGE_HANDLEROID 2280
82#define INTERNALOID 2281
83#define OPAQUEOID 2282
84#define ANYELEMENTOID 2283
85#define ANYNONARRAYOID 2776
86#define ANYENUMOID 3500
87
88#endif /* PG_TYPE_H */
Note: See TracBrowser for help on using the repository browser.