Header And Logo

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

pg_ts_config.h

Go to the documentation of this file.
00001 /*-------------------------------------------------------------------------
00002  *
00003  * pg_ts_config.h
00004  *  definition of configuration 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.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_H
00022 #define PG_TS_CONFIG_H
00023 
00024 #include "catalog/genbki.h"
00025 
00026 /* ----------------
00027  *      pg_ts_config definition.  cpp turns this into
00028  *      typedef struct FormData_pg_ts_config
00029  * ----------------
00030  */
00031 #define TSConfigRelationId  3602
00032 
00033 CATALOG(pg_ts_config,3602)
00034 {
00035     NameData    cfgname;        /* name of configuration */
00036     Oid         cfgnamespace;   /* name space */
00037     Oid         cfgowner;       /* owner */
00038     Oid         cfgparser;      /* OID of parser (in pg_ts_parser) */
00039 } FormData_pg_ts_config;
00040 
00041 typedef FormData_pg_ts_config *Form_pg_ts_config;
00042 
00043 /* ----------------
00044  *      compiler constants for pg_ts_config
00045  * ----------------
00046  */
00047 #define Natts_pg_ts_config              4
00048 #define Anum_pg_ts_config_cfgname       1
00049 #define Anum_pg_ts_config_cfgnamespace  2
00050 #define Anum_pg_ts_config_cfgowner      3
00051 #define Anum_pg_ts_config_cfgparser     4
00052 
00053 /* ----------------
00054  *      initial contents of pg_ts_config
00055  * ----------------
00056  */
00057 DATA(insert OID = 3748 ( "simple" PGNSP PGUID 3722 ));
00058 DESCR("simple configuration");
00059 
00060 #endif   /* PG_TS_CONFIG_H */