PostgreSQL Source Code  git master
pg_ts_dict.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * pg_ts_dict.h
4  * definition of the "text search dictionary" system catalog (pg_ts_dict)
5  *
6  *
7  * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/catalog/pg_ts_dict.h
11  *
12  * NOTES
13  * The Catalog.pm module reads this file and derives schema
14  * information.
15  *
16  *-------------------------------------------------------------------------
17  */
18 #ifndef PG_TS_DICT_H
19 #define PG_TS_DICT_H
20 
21 #include "catalog/genbki.h"
22 #include "catalog/pg_ts_dict_d.h"
23 
24 /* ----------------
25  * pg_ts_dict definition. cpp turns this into
26  * typedef struct FormData_pg_ts_dict
27  * ----------------
28  */
29 CATALOG(pg_ts_dict,3600,TSDictionaryRelationId)
30 {
31  NameData dictname; /* dictionary name */
32  Oid dictnamespace; /* name space */
33  Oid dictowner; /* owner */
34  Oid dicttemplate; /* dictionary's template */
35 
36 #ifdef CATALOG_VARLEN /* variable-length fields start here */
37  text dictinitoption; /* options passed to dict_init() */
38 #endif
40 
42 
43 #endif /* PG_TS_DICT_H */
unsigned int Oid
Definition: postgres_ext.h:31
Definition: c.h:570
FormData_pg_ts_dict * Form_pg_ts_dict
Definition: pg_ts_dict.h:41
CATALOG(pg_ts_dict, 3600, TSDictionaryRelationId)
Definition: pg_ts_dict.h:29
FormData_pg_ts_dict
Definition: pg_ts_dict.h:39
Definition: c.h:516