Fix obsolete comment regarding FSM truncation.
[PostgreSQL.git] / src / include / catalog / pg_ts_dict.h
blobf53765438fb4f419bf329f944502f1f57687d599
1 /*-------------------------------------------------------------------------
3 * pg_ts_dict.h
4 * definition of dictionaries for 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_DICT_H
22 #define PG_TS_DICT_H
24 #include "catalog/genbki.h"
26 /* ----------------
27 * pg_ts_dict definition. cpp turns this into
28 * typedef struct FormData_pg_ts_dict
29 * ----------------
31 #define TSDictionaryRelationId 3600
33 CATALOG(pg_ts_dict,3600)
35 NameData dictname; /* dictionary name */
36 Oid dictnamespace; /* name space */
37 Oid dictowner; /* owner */
38 Oid dicttemplate; /* dictionary's template */
39 text dictinitoption; /* options passed to dict_init() */
40 } FormData_pg_ts_dict;
42 typedef FormData_pg_ts_dict *Form_pg_ts_dict;
44 /* ----------------
45 * compiler constants for pg_ts_dict
46 * ----------------
48 #define Natts_pg_ts_dict 5
49 #define Anum_pg_ts_dict_dictname 1
50 #define Anum_pg_ts_dict_dictnamespace 2
51 #define Anum_pg_ts_dict_dictowner 3
52 #define Anum_pg_ts_dict_dicttemplate 4
53 #define Anum_pg_ts_dict_dictinitoption 5
55 /* ----------------
56 * initial contents of pg_ts_dict
57 * ----------------
60 DATA(insert OID = 3765 ( "simple" PGNSP PGUID 3727 _null_));
61 DESCR("simple dictionary: just lower case and check for stopword");
63 #endif /* PG_TS_DICT_H */