PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pg_ts_template.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_ts_template_d.h"
Include dependency graph for pg_ts_template.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_templateForm_pg_ts_template
 

Functions

 CATALOG (pg_ts_template, 3764, TSTemplateRelationId)
 
 DECLARE_UNIQUE_INDEX (pg_ts_template_tmplname_index, 3766, TSTemplateNameNspIndexId, pg_ts_template, btree(tmplname name_ops, tmplnamespace oid_ops))
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_ts_template_oid_index, 3767, TSTemplateOidIndexId, pg_ts_template, btree(oid oid_ops))
 
 MAKE_SYSCACHE (TSTEMPLATENAMENSP, pg_ts_template_tmplname_index, 2)
 
 MAKE_SYSCACHE (TSTEMPLATEOID, pg_ts_template_oid_index, 2)
 

Variables

 FormData_pg_ts_template
 

Typedef Documentation

◆ Form_pg_ts_template

Definition at line 46 of file pg_ts_template.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_ts_template  ,
3764  ,
TSTemplateRelationId   
)

Definition at line 29 of file pg_ts_template.h.

30{
31 Oid oid; /* oid */
32
33 /* template name */
34 NameData tmplname;
35
36 /* name space */
37 Oid tmplnamespace BKI_DEFAULT(pg_catalog) BKI_LOOKUP(pg_namespace);
38
39 /* initialization method of dict (may be 0) */
40 regproc tmplinit BKI_LOOKUP_OPT(pg_proc);
41
42 /* base method of dictionary */
43 regproc tmpllexize BKI_LOOKUP(pg_proc);
Oid regproc
Definition: c.h:620
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
#define BKI_DEFAULT(value)
Definition: genbki.h:35
#define BKI_LOOKUP_OPT(catalog)
Definition: genbki.h:47
FormData_pg_ts_template
unsigned int Oid
Definition: postgres_ext.h:32
Definition: c.h:712

References BKI_DEFAULT, BKI_LOOKUP, and BKI_LOOKUP_OPT.

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_ts_template_tmplname_index  ,
3766  ,
TSTemplateNameNspIndexId  ,
pg_ts_template  ,
btree(tmplname name_ops, tmplnamespace oid_ops)   
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_ts_template_oid_index  ,
3767  ,
TSTemplateOidIndexId  ,
pg_ts_template  ,
btree(oid oid_ops)   
)

◆ MAKE_SYSCACHE() [1/2]

MAKE_SYSCACHE ( TSTEMPLATENAMENSP  ,
pg_ts_template_tmplname_index  ,
 
)

◆ MAKE_SYSCACHE() [2/2]

MAKE_SYSCACHE ( TSTEMPLATEOID  ,
pg_ts_template_oid_index  ,
 
)

Variable Documentation

◆ FormData_pg_ts_template

FormData_pg_ts_template

Definition at line 44 of file pg_ts_template.h.