Fix obsolete comment regarding FSM truncation.
[PostgreSQL.git] / src / include / catalog / pg_ts_config.h
blob5aae8d6c6d9af46ac15ecf5e95de5392301d2c36
1 /*-------------------------------------------------------------------------
3 * pg_ts_config.h
4 * definition of configuration of tsearch
7 * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * $PostgreSQL$
12 * NOTES
13 * the genbki.sh script reads this file and generates .bki
14 * information from the DATA() statements.
16 * XXX do NOT break up DATA() statements into multiple lines!
17 * the scripts are not as smart as you might think...
19 *-------------------------------------------------------------------------
21 #ifndef PG_TS_CONFIG_H
22 #define PG_TS_CONFIG_H
24 #include "catalog/genbki.h"
26 /* ----------------
27 * pg_ts_config definition. cpp turns this into
28 * typedef struct FormData_pg_ts_config
29 * ----------------
31 #define TSConfigRelationId 3602
33 CATALOG(pg_ts_config,3602)
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) */
39 } FormData_pg_ts_config;
41 typedef FormData_pg_ts_config *Form_pg_ts_config;
43 /* ----------------
44 * compiler constants for pg_ts_config
45 * ----------------
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
53 /* ----------------
54 * initial contents of pg_ts_config
55 * ----------------
57 DATA(insert OID = 3748 ( "simple" PGNSP PGUID 3722 ));
58 DESCR("simple configuration");
60 #endif /* PG_TS_CONFIG_H */