Header And Logo

PostgreSQL
| The world's most advanced open source database.

Defines | Typedefs | Functions | Variables

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.

Defines

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

Typedefs

typedef FormData_pg_rewriteForm_pg_rewrite

Functions

 CATALOG (pg_rewrite, 2618)

Variables

 FormData_pg_rewrite

Define Documentation

#define Anum_pg_rewrite_ev_action   8

Definition at line 68 of file pg_rewrite.h.

Referenced by InsertRule(), and RelationBuildRuleLock().

#define Anum_pg_rewrite_ev_attr   3

Definition at line 63 of file pg_rewrite.h.

Referenced by InsertRule().

#define Anum_pg_rewrite_ev_class   2

Definition at line 62 of file pg_rewrite.h.

Referenced by InsertRule(), and RelationBuildRuleLock().

#define Anum_pg_rewrite_ev_enabled   5

Definition at line 65 of file pg_rewrite.h.

Referenced by InsertRule().

#define Anum_pg_rewrite_ev_qual   7

Definition at line 67 of file pg_rewrite.h.

Referenced by InsertRule(), and RelationBuildRuleLock().

#define Anum_pg_rewrite_ev_type   4

Definition at line 64 of file pg_rewrite.h.

Referenced by InsertRule().

#define Anum_pg_rewrite_is_instead   6

Definition at line 66 of file pg_rewrite.h.

Referenced by InsertRule().

#define Anum_pg_rewrite_rulename   1

Definition at line 61 of file pg_rewrite.h.

Referenced by get_rewrite_oid_without_relid(), and InsertRule().

#define Natts_pg_rewrite   8

Definition at line 60 of file pg_rewrite.h.

#define RewriteRelationId   2618

Typedef Documentation

Definition at line 54 of file pg_rewrite.h.


Function Documentation

CATALOG ( pg_rewrite  ,
2618   
)

Definition at line 34 of file pg_rewrite.h.

{
    NameData    rulename;
    Oid         ev_class;
    int16       ev_attr;
    char        ev_type;
    char        ev_enabled;
    bool        is_instead;

#ifdef CATALOG_VARLEN           /* variable-length fields start here */
    pg_node_tree ev_qual;
    pg_node_tree ev_action;
#endif
} FormData_pg_rewrite;


Variable Documentation

Definition at line 47 of file pg_rewrite.h.