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.

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, TSConfigNameNspIndexId, pg_ts_config, btree(cfgname name_ops, cfgnamespace oid_ops))
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_ts_config_oid_index, 3712, TSConfigOidIndexId, pg_ts_config, btree(oid oid_ops))
 
 MAKE_SYSCACHE (TSCONFIGNAMENSP, pg_ts_config_cfgname_index, 2)
 
 MAKE_SYSCACHE (TSCONFIGOID, pg_ts_config_oid_index, 2)
 

Variables

 FormData_pg_ts_config
 

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.

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);
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
#define BKI_DEFAULT(value)
Definition: genbki.h:35
FormData_pg_ts_config
Definition: pg_ts_config.h:46
unsigned int Oid
Definition: postgres_ext.h:31
Definition: c.h:730

References BKI_DEFAULT, and BKI_LOOKUP.

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_ts_config_cfgname_index  ,
3608  ,
TSConfigNameNspIndexId  ,
pg_ts_config  ,
btree(cfgname name_ops, cfgnamespace oid_ops)   
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_ts_config_oid_index  ,
3712  ,
TSConfigOidIndexId  ,
pg_ts_config  ,
btree(oid oid_ops)   
)

◆ MAKE_SYSCACHE() [1/2]

MAKE_SYSCACHE ( TSCONFIGNAMENSP  ,
pg_ts_config_cfgname_index  ,
 
)

◆ MAKE_SYSCACHE() [2/2]

MAKE_SYSCACHE ( TSCONFIGOID  ,
pg_ts_config_oid_index  ,
 
)

Variable Documentation

◆ FormData_pg_ts_config

FormData_pg_ts_config

Definition at line 46 of file pg_ts_config.h.