Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
pg_ts_config.h54 linesDownload Raw Back to catalog
1/*-------------------------------------------------------------------------2 *3 * pg_ts_config.h4 *	  definition of the "text search configuration" system catalog5 *	  (pg_ts_config)6 *7 *8 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group9 * Portions Copyright (c) 1994, Regents of the University of California10 *11 * src/include/catalog/pg_ts_config.h12 *13 * NOTES14 *	  The Catalog.pm module reads this file and derives schema15 *	  information.16 *17 *-------------------------------------------------------------------------18 */19#ifndef PG_TS_CONFIG_H20#define PG_TS_CONFIG_H21 22#include "catalog/genbki.h"23#include "catalog/pg_ts_config_d.h"24 25/* ----------------26 *		pg_ts_config definition.  cpp turns this into27 *		typedef struct FormData_pg_ts_config28 * ----------------29 */30CATALOG(pg_ts_config,3602,TSConfigRelationId)31{32	/* oid */33	Oid			oid;34 35	/* name of configuration */36	NameData	cfgname;37 38	/* name space */39	Oid			cfgnamespace BKI_DEFAULT(pg_catalog) BKI_LOOKUP(pg_namespace);40 41	/* owner */42	Oid			cfgowner BKI_DEFAULT(POSTGRES) BKI_LOOKUP(pg_authid);43 44	/* OID of parser */45	Oid			cfgparser BKI_LOOKUP(pg_ts_parser);46} FormData_pg_ts_config;47 48typedef FormData_pg_ts_config *Form_pg_ts_config;49 50DECLARE_UNIQUE_INDEX(pg_ts_config_cfgname_index, 3608, TSConfigNameNspIndexId, on pg_ts_config using btree(cfgname name_ops, cfgnamespace oid_ops));51DECLARE_UNIQUE_INDEX_PKEY(pg_ts_config_oid_index, 3712, TSConfigOidIndexId, on pg_ts_config using btree(oid oid_ops));52 53#endif							/* PG_TS_CONFIG_H */54 
codekingpro/portable-devtools · Team Ai