]> granicus.if.org Git - postgresql/blob - src/include/catalog/pg_ts_config_map.h
pgindent run for 8.3.
[postgresql] / src / include / catalog / pg_ts_config_map.h
1 /*-------------------------------------------------------------------------
2  *
3  * pg_ts_config_map.h
4  *      definition of token mappings for configurations of tsearch
5  *
6  *
7  * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $PostgreSQL: pgsql/src/include/catalog/pg_ts_config_map.h,v 1.2 2007/11/15 21:14:43 momjian Exp $
11  *
12  * NOTES
13  *              the genbki.sh script reads this file and generates .bki
14  *              information from the DATA() statements.
15  *
16  *              XXX do NOT break up DATA() statements into multiple lines!
17  *                      the scripts are not as smart as you might think...
18  *
19  *-------------------------------------------------------------------------
20  */
21 #ifndef PG_TS_CONFIG_MAP_H
22 #define PG_TS_CONFIG_MAP_H
23
24 /* ----------------
25  *              postgres.h contains the system type definitions and the
26  *              CATALOG(), BKI_BOOTSTRAP and DATA() sugar words so this file
27  *              can be read by both genbki.sh and the C compiler.
28  * ----------------
29  */
30
31 /* ----------------
32  *              pg_ts_config_map definition.  cpp turns this into
33  *              typedef struct FormData_pg_ts_config_map
34  * ----------------
35  */
36 #define TSConfigMapRelationId   3603
37
38 CATALOG(pg_ts_config_map,3603) BKI_WITHOUT_OIDS
39 {
40         Oid                     mapcfg;                 /* OID of configuration owning this entry */
41         int4            maptokentype;   /* token type from parser */
42         int4            mapseqno;               /* order in which to consult dictionaries */
43         Oid                     mapdict;                /* dictionary to consult */
44 } FormData_pg_ts_config_map;
45
46 typedef FormData_pg_ts_config_map *Form_pg_ts_config_map;
47
48 /* ----------------
49  *              compiler constants for pg_ts_config_map
50  * ----------------
51  */
52 #define Natts_pg_ts_config_map                          4
53 #define Anum_pg_ts_config_map_mapcfg            1
54 #define Anum_pg_ts_config_map_maptokentype      2
55 #define Anum_pg_ts_config_map_mapseqno          3
56 #define Anum_pg_ts_config_map_mapdict           4
57
58 /* ----------------
59  *              initial contents of pg_ts_config_map
60  * ----------------
61  */
62
63 DATA(insert ( 3748      1       1       3765 ));
64 DATA(insert ( 3748      2       1       3765 ));
65 DATA(insert ( 3748      3       1       3765 ));
66 DATA(insert ( 3748      4       1       3765 ));
67 DATA(insert ( 3748      5       1       3765 ));
68 DATA(insert ( 3748      6       1       3765 ));
69 DATA(insert ( 3748      7       1       3765 ));
70 DATA(insert ( 3748      8       1       3765 ));
71 DATA(insert ( 3748      9       1       3765 ));
72 DATA(insert ( 3748      10      1       3765 ));
73 DATA(insert ( 3748      11      1       3765 ));
74 DATA(insert ( 3748      15      1       3765 ));
75 DATA(insert ( 3748      16      1       3765 ));
76 DATA(insert ( 3748      17      1       3765 ));
77 DATA(insert ( 3748      18      1       3765 ));
78 DATA(insert ( 3748      19      1       3765 ));
79 DATA(insert ( 3748      20      1       3765 ));
80 DATA(insert ( 3748      21      1       3765 ));
81 DATA(insert ( 3748      22      1       3765 ));
82
83 #endif   /* PG_TS_CONFIG_MAP_H */