mirror of
https://github.com/simtactics/niotso.git
synced 2025-04-01 07:24:03 +00:00
60 lines
1.6 KiB
C
60 lines
1.6 KiB
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* pg_ts_config.h
|
|
* definition of configuration of tsearch
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2011, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* 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 */
|