PostgreSQL Source Code git master
pg_ts_config_map.h
Go to the documentation of this file.
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-2025, 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 */
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);
44
46
47DECLARE_UNIQUE_INDEX_PKEY(pg_ts_config_map_index, 3609, TSConfigMapIndexId, pg_ts_config_map, btree(mapcfg oid_ops, maptokentype int4_ops, mapseqno int4_ops));
48
49MAKE_SYSCACHE(TSCONFIGMAP, pg_ts_config_map_index, 2);
50
51#endif /* PG_TS_CONFIG_MAP_H */
int32_t int32
Definition: c.h:484
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
FormData_pg_ts_config_map * Form_pg_ts_config_map
MAKE_SYSCACHE(TSCONFIGMAP, pg_ts_config_map_index, 2)
FormData_pg_ts_config_map
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))
CATALOG(pg_ts_config_map, 3603, TSConfigMapRelationId)
unsigned int Oid
Definition: postgres_ext.h:32