pg_amcheck: Fix test failure on Windows with non-existing role
[pgsql.git] / src / include / catalog / pg_ts_config_map.h
blob38c3d4426c64d6736f22909a287cfa1a09b58ce0
1 /*-------------------------------------------------------------------------
3 * pg_ts_config_map.h
4 * definition of the system catalog for text search token mappings
5 * (pg_ts_config_map)
8 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
9 * Portions Copyright (c) 1994, Regents of the University of California
11 * src/include/catalog/pg_ts_config_map.h
13 * NOTES
14 * The Catalog.pm module reads this file and derives schema
15 * information.
17 *-------------------------------------------------------------------------
19 #ifndef PG_TS_CONFIG_MAP_H
20 #define PG_TS_CONFIG_MAP_H
22 #include "catalog/genbki.h"
23 #include "catalog/pg_ts_config_map_d.h"
25 /* ----------------
26 * pg_ts_config_map definition. cpp turns this into
27 * typedef struct FormData_pg_ts_config_map
28 * ----------------
30 CATALOG(pg_ts_config_map,3603,TSConfigMapRelationId)
32 /* OID of configuration owning this entry */
33 Oid mapcfg BKI_LOOKUP(pg_ts_config);
35 /* token type from parser */
36 int32 maptokentype;
38 /* order in which to consult dictionaries */
39 int32 mapseqno;
41 /* dictionary to consult */
42 Oid mapdict BKI_LOOKUP(pg_ts_dict);
43 } FormData_pg_ts_config_map;
45 typedef FormData_pg_ts_config_map *Form_pg_ts_config_map;
47 DECLARE_UNIQUE_INDEX_PKEY(pg_ts_config_map_index, 3609, TSConfigMapIndexId, pg_ts_config_map, btree(mapcfg oid_ops, maptokentype int4_ops, mapseqno int4_ops));
49 MAKE_SYSCACHE(TSCONFIGMAP, pg_ts_config_map_index, 2);
51 #endif /* PG_TS_CONFIG_MAP_H */