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

Go to the source code of this file.

Macros

#define TSDictionaryNameNspIndexId   3604
 
#define TSDictionaryOidIndexId   3605
 

Typedefs

typedef FormData_pg_ts_dictForm_pg_ts_dict
 

Functions

 CATALOG (pg_ts_dict, 3600, TSDictionaryRelationId)
 
 DECLARE_TOAST (pg_ts_dict, 4169, 4170)
 
 DECLARE_UNIQUE_INDEX (pg_ts_dict_dictname_index, 3604, on pg_ts_dict using btree(dictname name_ops, dictnamespace oid_ops))
 
 DECLARE_UNIQUE_INDEX (pg_ts_dict_oid_index, 3605, on pg_ts_dict using btree(oid oid_ops))
 

Variables

 FormData_pg_ts_dict
 

Macro Definition Documentation

◆ TSDictionaryNameNspIndexId

#define TSDictionaryNameNspIndexId   3604

Definition at line 57 of file pg_ts_dict.h.

◆ TSDictionaryOidIndexId

#define TSDictionaryOidIndexId   3605

Definition at line 59 of file pg_ts_dict.h.

Referenced by DefineTSDictionary().

Typedef Documentation

◆ Form_pg_ts_dict

Definition at line 52 of file pg_ts_dict.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_ts_dict  ,
3600  ,
TSDictionaryRelationId   
)

Definition at line 29 of file pg_ts_dict.h.

References BKI_DEFAULT, and BKI_LOOKUP.

30 {
31  /* oid */
32  Oid oid;
33 
34  /* dictionary name */
35  NameData dictname;
36 
37  /* name space */
38  Oid dictnamespace BKI_DEFAULT(PGNSP);
39 
40  /* owner */
41  Oid dictowner BKI_DEFAULT(PGUID);
42 
43  /* dictionary's template */
44  Oid dicttemplate BKI_LOOKUP(pg_ts_template);
45 
46 #ifdef CATALOG_VARLEN /* variable-length fields start here */
47  /* options passed to dict_init() */
48  text dictinitoption;
49 #endif
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_dict
Definition: pg_ts_dict.h:50
Definition: c.h:609

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_ts_dict  ,
4169  ,
4170   
)

◆ DECLARE_UNIQUE_INDEX() [1/2]

DECLARE_UNIQUE_INDEX ( pg_ts_dict_dictname_index  ,
3604  ,
on pg_ts_dict using   btreedictname name_ops, dictnamespace oid_ops 
)

◆ DECLARE_UNIQUE_INDEX() [2/2]

DECLARE_UNIQUE_INDEX ( pg_ts_dict_oid_index  ,
3605  ,
on pg_ts_dict using   btreeoid oid_ops 
)

Variable Documentation

◆ FormData_pg_ts_dict

FormData_pg_ts_dict

Definition at line 50 of file pg_ts_dict.h.