Header And Logo

PostgreSQL
| The world's most advanced open source database.

pg_ts_config_map.h

Go to the documentation of this file.
00001 /*-------------------------------------------------------------------------
00002  *
00003  * pg_ts_config_map.h
00004  *  definition of token mappings for configurations of tsearch
00005  *
00006  *
00007  * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
00008  * Portions Copyright (c) 1994, Regents of the University of California
00009  *
00010  * src/include/catalog/pg_ts_config_map.h
00011  *
00012  * NOTES
00013  *      the genbki.pl script reads this file and generates .bki
00014  *      information from the DATA() statements.
00015  *
00016  *      XXX do NOT break up DATA() statements into multiple lines!
00017  *          the scripts are not as smart as you might think...
00018  *
00019  *-------------------------------------------------------------------------
00020  */
00021 #ifndef PG_TS_CONFIG_MAP_H
00022 #define PG_TS_CONFIG_MAP_H
00023 
00024 #include "catalog/genbki.h"
00025 
00026 /* ----------------
00027  *      pg_ts_config_map definition.  cpp turns this into
00028  *      typedef struct FormData_pg_ts_config_map
00029  * ----------------
00030  */
00031 #define TSConfigMapRelationId   3603
00032 
00033 CATALOG(pg_ts_config_map,3603) BKI_WITHOUT_OIDS
00034 {
00035     Oid         mapcfg;         /* OID of configuration owning this entry */
00036     int32       maptokentype;   /* token type from parser */
00037     int32       mapseqno;       /* order in which to consult dictionaries */
00038     Oid         mapdict;        /* dictionary to consult */
00039 } FormData_pg_ts_config_map;
00040 
00041 typedef FormData_pg_ts_config_map *Form_pg_ts_config_map;
00042 
00043 /* ----------------
00044  *      compiler constants for pg_ts_config_map
00045  * ----------------
00046  */
00047 #define Natts_pg_ts_config_map              4
00048 #define Anum_pg_ts_config_map_mapcfg        1
00049 #define Anum_pg_ts_config_map_maptokentype  2
00050 #define Anum_pg_ts_config_map_mapseqno      3
00051 #define Anum_pg_ts_config_map_mapdict       4
00052 
00053 /* ----------------
00054  *      initial contents of pg_ts_config_map
00055  * ----------------
00056  */
00057 
00058 DATA(insert ( 3748  1   1   3765 ));
00059 DATA(insert ( 3748  2   1   3765 ));
00060 DATA(insert ( 3748  3   1   3765 ));
00061 DATA(insert ( 3748  4   1   3765 ));
00062 DATA(insert ( 3748  5   1   3765 ));
00063 DATA(insert ( 3748  6   1   3765 ));
00064 DATA(insert ( 3748  7   1   3765 ));
00065 DATA(insert ( 3748  8   1   3765 ));
00066 DATA(insert ( 3748  9   1   3765 ));
00067 DATA(insert ( 3748  10  1   3765 ));
00068 DATA(insert ( 3748  11  1   3765 ));
00069 DATA(insert ( 3748  15  1   3765 ));
00070 DATA(insert ( 3748  16  1   3765 ));
00071 DATA(insert ( 3748  17  1   3765 ));
00072 DATA(insert ( 3748  18  1   3765 ));
00073 DATA(insert ( 3748  19  1   3765 ));
00074 DATA(insert ( 3748  20  1   3765 ));
00075 DATA(insert ( 3748  21  1   3765 ));
00076 DATA(insert ( 3748  22  1   3765 ));
00077 
00078 #endif   /* PG_TS_CONFIG_MAP_H */