1 /*-------------------------------------------------------------------------
4 * definition of token mappings for configurations of tsearch
7 * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
13 * the genbki.sh script reads this file and generates .bki
14 * information from the DATA() statements.
16 * XXX do NOT break up DATA() statements into multiple lines!
17 * the scripts are not as smart as you might think...
19 *-------------------------------------------------------------------------
21 #ifndef PG_TS_CONFIG_MAP_H
22 #define PG_TS_CONFIG_MAP_H
24 #include "catalog/genbki.h"
27 * pg_ts_config_map definition. cpp turns this into
28 * typedef struct FormData_pg_ts_config_map
31 #define TSConfigMapRelationId 3603
33 CATALOG(pg_ts_config_map
,3603) BKI_WITHOUT_OIDS
35 Oid mapcfg
; /* OID of configuration owning this entry */
36 int4 maptokentype
; /* token type from parser */
37 int4 mapseqno
; /* order in which to consult dictionaries */
38 Oid mapdict
; /* dictionary to consult */
39 } FormData_pg_ts_config_map
;
41 typedef FormData_pg_ts_config_map
*Form_pg_ts_config_map
;
44 * compiler constants for pg_ts_config_map
47 #define Natts_pg_ts_config_map 4
48 #define Anum_pg_ts_config_map_mapcfg 1
49 #define Anum_pg_ts_config_map_maptokentype 2
50 #define Anum_pg_ts_config_map_mapseqno 3
51 #define Anum_pg_ts_config_map_mapdict 4
54 * initial contents of pg_ts_config_map
58 DATA(insert ( 3748 1 1 3765 ));
59 DATA(insert ( 3748 2 1 3765 ));
60 DATA(insert ( 3748 3 1 3765 ));
61 DATA(insert ( 3748 4 1 3765 ));
62 DATA(insert ( 3748 5 1 3765 ));
63 DATA(insert ( 3748 6 1 3765 ));
64 DATA(insert ( 3748 7 1 3765 ));
65 DATA(insert ( 3748 8 1 3765 ));
66 DATA(insert ( 3748 9 1 3765 ));
67 DATA(insert ( 3748 10 1 3765 ));
68 DATA(insert ( 3748 11 1 3765 ));
69 DATA(insert ( 3748 15 1 3765 ));
70 DATA(insert ( 3748 16 1 3765 ));
71 DATA(insert ( 3748 17 1 3765 ));
72 DATA(insert ( 3748 18 1 3765 ));
73 DATA(insert ( 3748 19 1 3765 ));
74 DATA(insert ( 3748 20 1 3765 ));
75 DATA(insert ( 3748 21 1 3765 ));
76 DATA(insert ( 3748 22 1 3765 ));
78 #endif /* PG_TS_CONFIG_MAP_H */