PostgreSQL Source Code  git master
pg_ts_config.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_ts_config_d.h"
Include dependency graph for pg_ts_config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TSConfigNameNspIndexId   3608
 
#define TSConfigOidIndexId   3712
 

Typedefs

typedef FormData_pg_ts_configForm_pg_ts_config
 

Functions

 CATALOG (pg_ts_config, 3602, TSConfigRelationId)
 
 DECLARE_UNIQUE_INDEX (pg_ts_config_cfgname_index, 3608, on pg_ts_config using btree(cfgname name_ops, cfgnamespace oid_ops))
 
 DECLARE_UNIQUE_INDEX (pg_ts_config_oid_index, 3712, on pg_ts_config using btree(oid oid_ops))
 

Variables

 FormData_pg_ts_config
 

Macro Definition Documentation

◆ TSConfigNameNspIndexId

#define TSConfigNameNspIndexId   3608

Definition at line 51 of file pg_ts_config.h.

◆ TSConfigOidIndexId

#define TSConfigOidIndexId   3712

Definition at line 53 of file pg_ts_config.h.

Referenced by DefineTSConfiguration().

Typedef Documentation

◆ Form_pg_ts_config

Definition at line 48 of file pg_ts_config.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_ts_config  ,
3602  ,
TSConfigRelationId   
)

Definition at line 30 of file pg_ts_config.h.

References BKI_DEFAULT, and BKI_LOOKUP.

31 {
32  /* oid */
33  Oid oid;
34 
35  /* name of configuration */
36  NameData cfgname;
37 
38  /* name space */
39  Oid cfgnamespace BKI_DEFAULT(PGNSP);
40 
41  /* owner */
42  Oid cfgowner BKI_DEFAULT(PGUID);
43 
44  /* OID of parser */
45  Oid cfgparser BKI_LOOKUP(pg_ts_parser);
unsigned int Oid
Definition: postgres_ext.h:31
#define BKI_DEFAULT(value)
Definition: genbki.h:35
Definition: c.h:663
#define BKI_LOOKUP(catalog)
Definition: genbki.h:42
FormData_pg_ts_config
Definition: pg_ts_config.h:46

◆ DECLARE_UNIQUE_INDEX() [1/2]

DECLARE_UNIQUE_INDEX ( pg_ts_config_cfgname_index  ,
3608  ,
on pg_ts_config using   btreecfgname name_ops, cfgnamespace oid_ops 
)

◆ DECLARE_UNIQUE_INDEX() [2/2]

DECLARE_UNIQUE_INDEX ( pg_ts_config_oid_index  ,
3712  ,
on pg_ts_config using   btreeoid oid_ops 
)

Variable Documentation

◆ FormData_pg_ts_config

FormData_pg_ts_config

Definition at line 46 of file pg_ts_config.h.