forked from huawei/openGauss-server
Add help information about REFERENCES of column_constraint.
This commit is contained in:
parent
0a03cb4945
commit
a67d66149c
|
|
@ -76,7 +76,9 @@ where column_constraint can be:
|
||||||
CHECK ( expression ) |
|
CHECK ( expression ) |
|
||||||
DEFAULT default_expr |
|
DEFAULT default_expr |
|
||||||
UNIQUE index_parameters |
|
UNIQUE index_parameters |
|
||||||
PRIMARY KEY index_parameters }
|
PRIMARY KEY index_parameters |
|
||||||
|
REFERENCES reftable [ ( refcolumn ) ] [ MATCH FULL | MATCH PARTIAL | MATCH SIMPLE ]
|
||||||
|
[ ON DELETE action ] [ ON UPDATE action ] }
|
||||||
[ DEFERRABLE | NOT DEFERRABLE | INITIALLY DEFERRED | INITIALLY IMMEDIATE ]
|
[ DEFERRABLE | NOT DEFERRABLE | INITIALLY DEFERRED | INITIALLY IMMEDIATE ]
|
||||||
where compress_mode can be:
|
where compress_mode can be:
|
||||||
{ DELTA | PREFIX | DICTIONARY | NUMSTR | NOCOMPRESS }
|
{ DELTA | PREFIX | DICTIONARY | NUMSTR | NOCOMPRESS }
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,9 @@ where column_constraint can be:
|
||||||
CHECK ( expression ) |
|
CHECK ( expression ) |
|
||||||
DEFAULT default_expr |
|
DEFAULT default_expr |
|
||||||
UNIQUE index_parameters |
|
UNIQUE index_parameters |
|
||||||
PRIMARY KEY index_parameters }
|
PRIMARY KEY index_parameters |
|
||||||
|
REFERENCES reftable [ ( refcolumn ) ] [ MATCH FULL | MATCH PARTIAL | MATCH SIMPLE ]
|
||||||
|
[ ON DELETE action ] [ ON UPDATE action ] }
|
||||||
[ DEFERRABLE | NOT DEFERRABLE | INITIALLY DEFERRED | INITIALLY IMMEDIATE ]
|
[ DEFERRABLE | NOT DEFERRABLE | INITIALLY DEFERRED | INITIALLY IMMEDIATE ]
|
||||||
where table_constraint can be:
|
where table_constraint can be:
|
||||||
[ CONSTRAINT constraint_name ]
|
[ CONSTRAINT constraint_name ]
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,9 @@ where column_constraint can be:
|
||||||
CHECK ( expression ) |
|
CHECK ( expression ) |
|
||||||
DEFAULT default_expr |
|
DEFAULT default_expr |
|
||||||
UNIQUE index_parameters |
|
UNIQUE index_parameters |
|
||||||
PRIMARY KEY index_parameters }
|
PRIMARY KEY index_parameters |
|
||||||
|
REFERENCES reftable [ ( refcolumn ) ] [ MATCH FULL | MATCH PARTIAL | MATCH SIMPLE ]
|
||||||
|
[ ON DELETE action ] [ ON UPDATE action ] }
|
||||||
[ DEFERRABLE | NOT DEFERRABLE | INITIALLY DEFERRED | INITIALLY IMMEDIATE ]
|
[ DEFERRABLE | NOT DEFERRABLE | INITIALLY DEFERRED | INITIALLY IMMEDIATE ]
|
||||||
where table_constraint can be:
|
where table_constraint can be:
|
||||||
[ CONSTRAINT constraint_name ]
|
[ CONSTRAINT constraint_name ]
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,9 @@ where column_constraint can be:
|
||||||
CHECK ( expression ) |
|
CHECK ( expression ) |
|
||||||
DEFAULT default_expr |
|
DEFAULT default_expr |
|
||||||
UNIQUE index_parameters |
|
UNIQUE index_parameters |
|
||||||
PRIMARY KEY index_parameters }
|
PRIMARY KEY index_parameters |
|
||||||
|
REFERENCES reftable [ ( refcolumn ) ] [ MATCH FULL | MATCH PARTIAL | MATCH SIMPLE ]
|
||||||
|
[ ON DELETE action ] [ ON UPDATE action ] }
|
||||||
[ DEFERRABLE | NOT DEFERRABLE | INITIALLY DEFERRED | INITIALLY IMMEDIATE ]
|
[ DEFERRABLE | NOT DEFERRABLE | INITIALLY DEFERRED | INITIALLY IMMEDIATE ]
|
||||||
where compress_mode can be:
|
where compress_mode can be:
|
||||||
{ DELTA | PREFIX | DICTIONARY | NUMSTR | NOCOMPRESS }
|
{ DELTA | PREFIX | DICTIONARY | NUMSTR | NOCOMPRESS }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue