1 /*------------------------------------------------------------------------- 2 * 3 * pg_ts_config_map.h 4 * definition of the system catalog for text search token mappings 5 * (pg_ts_config_map) 6 * 7 * 8 * Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group 9 * Portions Copyright (c) 1994, Regents of the University of California 10 * 11 * src/include/catalog/pg_ts_config_map.h 12 * 13 * NOTES 14 * The Catalog.pm module reads this file and derives schema 15 * information. 16 * 17 *------------------------------------------------------------------------- 18 */ 19 #ifndef PG_TS_CONFIG_MAP_H 20 #define PG_TS_CONFIG_MAP_H 21 22 #include "catalog/genbki.h" 23 #include "catalog/pg_ts_config_map_d.h" 24 25 /* ---------------- 26 * pg_ts_config_map definition. cpp turns this into 27 * typedef struct FormData_pg_ts_config_map 28 * ---------------- 29 */ 30 CATALOG(pg_ts_config_map,3603,TSConfigMapRelationId) 31 { 32 /* OID of configuration owning this entry */ 33 Oid mapcfg BKI_LOOKUP(pg_ts_config); 34 35 /* token type from parser */ 36 int32 maptokentype; 37 38 /* order in which to consult dictionaries */ 39 int32 mapseqno; 40 41 /* dictionary to consult */ 42 Oid mapdict BKI_LOOKUP(pg_ts_dict); 43 } FormData_pg_ts_config_map; 44 45 typedef FormData_pg_ts_config_map *Form_pg_ts_config_map; 46 47 DECLARE_UNIQUE_INDEX_PKEY(pg_ts_config_map_index, 3609, on pg_ts_config_map using btree(mapcfg oid_ops, maptokentype int4_ops, mapseqno int4_ops)); 48 #define TSConfigMapIndexId 3609 49 50 #endif /* PG_TS_CONFIG_MAP_H */ 51