codekingpro/portable-devtools
114k
1/*-------------------------------------------------------------------------2 *3 * pg_ts_config_map.h4 * definition of the system catalog for text search token mappings5 * (pg_ts_config_map)6 *7 *8 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group9 * Portions Copyright (c) 1994, Regents of the University of California10 *11 * src/include/catalog/pg_ts_config_map.h12 *13 * NOTES14 * The Catalog.pm module reads this file and derives schema15 * information.16 *17 *-------------------------------------------------------------------------18 */19#ifndef PG_TS_CONFIG_MAP_H20#define PG_TS_CONFIG_MAP_H21 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 into27 * typedef struct FormData_pg_ts_config_map28 * ----------------29 */30CATALOG(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 45typedef FormData_pg_ts_config_map *Form_pg_ts_config_map;46 47DECLARE_UNIQUE_INDEX_PKEY(pg_ts_config_map_index, 3609, TSConfigMapIndexId, on pg_ts_config_map using btree(mapcfg oid_ops, maptokentype int4_ops, mapseqno int4_ops));48 49#endif /* PG_TS_CONFIG_MAP_H */50 