1 /*------------------------------------------------------------------------- 2 * 3 * pg_ts_config_map.h 4 * definition of token mappings for configurations of tsearch 5 * 6 * 7 * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group 8 * Portions Copyright (c) 1994, Regents of the University of California 9 * 10 * src/include/catalog/pg_ts_config_map.h 11 * 12 * NOTES 13 * the genbki.pl 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 #include "catalog/genbki.h" 25 26 /* ---------------- 27 * pg_ts_config_map definition. cpp turns this into 28 * typedef struct FormData_pg_ts_config_map 29 * ---------------- 30 */ 31 #define TSConfigMapRelationId 3603 32 33 CATALOG(pg_ts_config_map,3603) BKI_WITHOUT_OIDS 34 { 35 Oid mapcfg; /* OID of configuration owning this entry */ 36 int32 maptokentype; /* token type from parser */ 37 int32 mapseqno; /* order in which to consult dictionaries */ 38 Oid mapdict; /* dictionary to consult */ 39 } FormData_pg_ts_config_map; 40 41 typedef FormData_pg_ts_config_map *Form_pg_ts_config_map; 42 43 /* ---------------- 44 * compiler constants for pg_ts_config_map 45 * ---------------- 46 */ 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 52 53 /* ---------------- 54 * initial contents of pg_ts_config_map 55 * ---------------- 56 */ 57 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 )); 77 78 #endif /* PG_TS_CONFIG_MAP_H */ 79