postgresql/src/include/catalog/pg_ts_config.h

61 lines
1.6 KiB
C
Raw Normal View History

/*-------------------------------------------------------------------------
*
* pg_ts_config.h
2007-11-15 22:14:46 +01:00
* definition of configuration of tsearch
*
*
2017-01-03 19:48:53 +01:00
* Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
2010-09-20 22:08:53 +02:00
* src/include/catalog/pg_ts_config.h
*
* NOTES
* the genbki.pl script reads this file and generates .bki
* information from the DATA() statements.
*
* XXX do NOT break up DATA() statements into multiple lines!
* the scripts are not as smart as you might think...
*
*-------------------------------------------------------------------------
*/
#ifndef PG_TS_CONFIG_H
#define PG_TS_CONFIG_H
#include "catalog/genbki.h"
/* ----------------
* pg_ts_config definition. cpp turns this into
* typedef struct FormData_pg_ts_config
* ----------------
*/
#define TSConfigRelationId 3602
CATALOG(pg_ts_config,3602)
{
NameData cfgname; /* name of configuration */
Oid cfgnamespace; /* name space */
Oid cfgowner; /* owner */
Oid cfgparser; /* OID of parser (in pg_ts_parser) */
} FormData_pg_ts_config;
typedef FormData_pg_ts_config *Form_pg_ts_config;
/* ----------------
* compiler constants for pg_ts_config
* ----------------
*/
#define Natts_pg_ts_config 4
#define Anum_pg_ts_config_cfgname 1
#define Anum_pg_ts_config_cfgnamespace 2
#define Anum_pg_ts_config_cfgowner 3
#define Anum_pg_ts_config_cfgparser 4
/* ----------------
* initial contents of pg_ts_config
* ----------------
*/
DATA(insert OID = 3748 ( "simple" PGNSP PGUID 3722 ));
DESCR("simple configuration");
#endif /* PG_TS_CONFIG_H */