PostgreSQL Source Code git master
Loading...
Searching...
No Matches
pg_rewrite.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_rewrite_d.h"
Include dependency graph for pg_rewrite.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

BEGIN_CATALOG_STRUCT CATALOG (pg_rewrite, 2618, RewriteRelationId)
 
 DECLARE_TOAST (pg_rewrite, 2838, 2839)
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_rewrite_oid_index, 2692, RewriteOidIndexId, pg_rewrite, btree(oid oid_ops))
 
 DECLARE_UNIQUE_INDEX (pg_rewrite_rel_rulename_index, 2693, RewriteRelRulenameIndexId, pg_rewrite, btree(ev_class oid_ops, rulename name_ops))
 
 MAKE_SYSCACHE (RULERELNAME, pg_rewrite_rel_rulename_index, 8)
 

Variables

END_CATALOG_STRUCT typedef FormData_pg_rewriteForm_pg_rewrite
 
 FormData_pg_rewrite
 

Function Documentation

◆ CATALOG()

BEGIN_CATALOG_STRUCT CATALOG ( pg_rewrite  ,
2618  ,
RewriteRelationId   
)

Definition at line 34 of file pg_rewrite.h.

35{
36 Oid oid; /* oid */
37 NameData rulename;
39 char ev_type;
40 char ev_enabled;
41 bool is_instead;
42
43#ifdef CATALOG_VARLEN /* variable-length fields start here */
46#endif
#define BKI_LOOKUP(catalog)
Definition genbki.h:65
#define BKI_FORCE_NOT_NULL
Definition genbki.h:52
FormData_pg_rewrite
Definition pg_rewrite.h:47
unsigned int Oid
static int fb(int x)
Definition c.h:802

References BKI_FORCE_NOT_NULL, BKI_LOOKUP, and fb().

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_rewrite  ,
2838  ,
2839   
)

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_rewrite_rel_rulename_index  ,
2693  ,
RewriteRelRulenameIndexId  ,
pg_rewrite  ,
btree(ev_class oid_ops, rulename name_ops  
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_rewrite_oid_index  ,
2692  ,
RewriteOidIndexId  ,
pg_rewrite  ,
btree(oid oid_ops  
)

◆ MAKE_SYSCACHE()

MAKE_SYSCACHE ( RULERELNAME  ,
pg_rewrite_rel_rulename_index  ,
 
)

Variable Documentation

◆ Form_pg_rewrite

◆ FormData_pg_rewrite

FormData_pg_rewrite

Definition at line 47 of file pg_rewrite.h.