PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
pg_ts_config.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * pg_ts_config.h
4  * definition of configuration of tsearch
5  *
6  *
7  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/catalog/pg_ts_config.h
11  *
12  * NOTES
13  * the genbki.pl script reads this file and generates .bki
14  * information from the DATA() statements.
15  *
16  * XXX do NOT break up DATA() statements into multiple lines!
17  * the scripts are not as smart as you might think...
18  *
19  *-------------------------------------------------------------------------
20  */
21 #ifndef PG_TS_CONFIG_H
22 #define PG_TS_CONFIG_H
23 
24 #include "catalog/genbki.h"
25 
26 /* ----------------
27  * pg_ts_config definition. cpp turns this into
28  * typedef struct FormData_pg_ts_config
29  * ----------------
30  */
31 #define TSConfigRelationId 3602
32 
33 CATALOG(pg_ts_config,3602)
34 {
35  NameData cfgname; /* name of configuration */
36  Oid cfgnamespace; /* name space */
37  Oid cfgowner; /* owner */
38  Oid cfgparser; /* OID of parser (in pg_ts_parser) */
40 
42 
43 /* ----------------
44  * compiler constants for pg_ts_config
45  * ----------------
46  */
47 #define Natts_pg_ts_config 4
48 #define Anum_pg_ts_config_cfgname 1
49 #define Anum_pg_ts_config_cfgnamespace 2
50 #define Anum_pg_ts_config_cfgowner 3
51 #define Anum_pg_ts_config_cfgparser 4
52 
53 /* ----------------
54  * initial contents of pg_ts_config
55  * ----------------
56  */
57 DATA(insert OID = 3748 ( "simple" PGNSP PGUID 3722 ));
58 DESCR("simple configuration");
59 
60 #endif /* PG_TS_CONFIG_H */
DATA(insert OID=3748("simple"PGNSP PGUID 3722))
FormData_pg_ts_config * Form_pg_ts_config
Definition: pg_ts_config.h:41
unsigned int Oid
Definition: postgres_ext.h:31
DESCR("simple configuration")
Definition: c.h:487
FormData_pg_ts_config
Definition: pg_ts_config.h:39
CATALOG(pg_ts_config, 3602)
Definition: pg_ts_config.h:33