PostgreSQL Source Code  git master
pg_ts_config.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * pg_ts_config.h
4  * definition of the "text search configuration" system catalog
5  * (pg_ts_config)
6  *
7  *
8  * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
9  * Portions Copyright (c) 1994, Regents of the University of California
10  *
11  * src/include/catalog/pg_ts_config.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_H
20 #define PG_TS_CONFIG_H
21 
22 #include "catalog/genbki.h"
23 #include "catalog/pg_ts_config_d.h"
24 
25 /* ----------------
26  * pg_ts_config definition. cpp turns this into
27  * typedef struct FormData_pg_ts_config
28  * ----------------
29  */
30 CATALOG(pg_ts_config,3602,TSConfigRelationId)
31 {
32  /* oid */
33  Oid oid;
34 
35  /* name of configuration */
36  NameData cfgname;
37 
38  /* name space */
39  Oid cfgnamespace BKI_DEFAULT(PGNSP);
40 
41  /* owner */
42  Oid cfgowner BKI_DEFAULT(PGUID);
43 
44  /* OID of parser */
45  Oid cfgparser BKI_LOOKUP(pg_ts_parser);
47 
49 
50 #endif /* PG_TS_CONFIG_H */
FormData_pg_ts_config * Form_pg_ts_config
Definition: pg_ts_config.h:48
unsigned int Oid
Definition: postgres_ext.h:31
#define BKI_DEFAULT(value)
Definition: genbki.h:35
Definition: c.h:603
#define BKI_LOOKUP(catalog)
Definition: genbki.h:42
FormData_pg_ts_config
Definition: pg_ts_config.h:46
CATALOG(pg_ts_config, 3602, TSConfigRelationId)
Definition: pg_ts_config.h:30