text: /*-------------------------------------------------------------------------
   *
   * pg_ts_config.h
   *	definition of configuration of tsearch
   *
   *
   * Portions Copyright (c) 1996-2014, 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;
  
  /* GPDB added foreign key definitions for gpcheckcat. */
  FOREIGN_KEY(cfgnamespace REFERENCES pg_namespace(oid));
  FOREIGN_KEY(cfgowner REFERENCES pg_authid(oid));
  FOREIGN_KEY(cfgparser REFERENCES pg_ts_parser(oid));
  
  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 */
  