CUBRID Engine  latest
pt_constraint_info Struct Reference

#include <parse_tree.h>

Collaboration diagram for pt_constraint_info:
Collaboration graph

Public Attributes

PT_NODEname
 
PT_CONSTRAINT_TYPE type
 
short deferrable
 
short initially_deferred
 
union {
   struct {
      PT_NODE *   attrs
 
   }   primary_key
 
   PT_FOREIGN_KEY_INFO   foreign_key
 
   struct {
      PT_NODE *   attr
 
   }   not_null
 
   struct {
      PT_NODE *   attrs
 
   }   unique
 
   struct {
      PT_NODE *   expr
 
   }   check
 
un
 
PT_NODEcomment
 

Detailed Description

Definition at line 3093 of file parse_tree.h.

Member Data Documentation

PT_NODE* pt_constraint_info::attr

Definition at line 3108 of file parse_tree.h.

PT_NODE* pt_constraint_info::attrs

Definition at line 3103 of file parse_tree.h.

struct { ... } pt_constraint_info::check
PT_NODE* pt_constraint_info::comment

Definition at line 3119 of file parse_tree.h.

Referenced by add_foreign_key(), do_add_constraints(), and pt_print_constraint().

short pt_constraint_info::deferrable

Definition at line 3097 of file parse_tree.h.

Referenced by pt_print_col_def_constraint(), and pt_print_constraint().

PT_NODE* pt_constraint_info::expr

Definition at line 3116 of file parse_tree.h.

short pt_constraint_info::initially_deferred

Definition at line 3098 of file parse_tree.h.

Referenced by pt_print_col_def_constraint(), and pt_print_constraint().

struct { ... } pt_constraint_info::not_null

The documentation for this struct was generated from the following file: