PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
pg_rewrite.h File Reference
#include "catalog/genbki.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.

Macros

#define RewriteRelationId   2618
 
#define Natts_pg_rewrite   7
 
#define Anum_pg_rewrite_rulename   1
 
#define Anum_pg_rewrite_ev_class   2
 
#define Anum_pg_rewrite_ev_type   3
 
#define Anum_pg_rewrite_ev_enabled   4
 
#define Anum_pg_rewrite_is_instead   5
 
#define Anum_pg_rewrite_ev_qual   6
 
#define Anum_pg_rewrite_ev_action   7
 

Typedefs

typedef FormData_pg_rewriteForm_pg_rewrite
 

Functions

 CATALOG (pg_rewrite, 2618)
 

Variables

 FormData_pg_rewrite
 

Macro Definition Documentation

#define Anum_pg_rewrite_ev_action   7

Definition at line 66 of file pg_rewrite.h.

Referenced by InsertRule(), and RelationBuildRuleLock().

#define Anum_pg_rewrite_ev_class   2

Definition at line 61 of file pg_rewrite.h.

Referenced by InsertRule(), and RelationBuildRuleLock().

#define Anum_pg_rewrite_ev_enabled   4

Definition at line 63 of file pg_rewrite.h.

Referenced by InsertRule().

#define Anum_pg_rewrite_ev_qual   6

Definition at line 65 of file pg_rewrite.h.

Referenced by InsertRule(), and RelationBuildRuleLock().

#define Anum_pg_rewrite_ev_type   3

Definition at line 62 of file pg_rewrite.h.

Referenced by InsertRule().

#define Anum_pg_rewrite_is_instead   5

Definition at line 64 of file pg_rewrite.h.

Referenced by InsertRule().

#define Anum_pg_rewrite_rulename   1

Definition at line 60 of file pg_rewrite.h.

Referenced by get_rewrite_oid_without_relid(), and InsertRule().

#define Natts_pg_rewrite   7

Definition at line 59 of file pg_rewrite.h.

Referenced by InsertRule().

Typedef Documentation

Function Documentation

CATALOG ( pg_rewrite  ,
2618   
)

Definition at line 34 of file pg_rewrite.h.

35 {
36  NameData rulename;
37  Oid ev_class;
38  char ev_type;
39  char ev_enabled;
40  bool is_instead;
41 
42 #ifdef CATALOG_VARLEN /* variable-length fields start here */
43  pg_node_tree ev_qual;
44  pg_node_tree ev_action;
45 #endif
unsigned int Oid
Definition: postgres_ext.h:31
Definition: c.h:488
FormData_pg_rewrite
Definition: pg_rewrite.h:46

Variable Documentation

FormData_pg_rewrite

Definition at line 46 of file pg_rewrite.h.