Extended Syntax
GaussDB provides the following extended syntax:
Category |
Keywords |
Description |
---|---|---|
Creating a table |
INHERITS ( parent_table [, ... ] ) |
Currently, the syntax of inherited tables is retained, but inherited tables are not supported. |
column_constraint: REFERENCES reftable [ ( refcolumn ) ] [ MATCH FULL | MATCH PARTIAL | MATCH SIMPLE ][ ON DELETE action ] [ ON UPDATE action ] |
You can run REFERENCES reftable[(refcolumn)] [MATCH FULL |MATCH PARTIAL | MATCH SIMPLE] [ON DELETE action] [ON UPDATE action] to create foreign key constraints for tables. |
|
Loading a module |
CREATE EXTENSION |
Loads a new module to the current database. This feature is for internal use only. You are advised not to use it. |
DROP EXTENSION |
Deletes the loaded module. This feature is for internal use only. You are advised not to use it. |
|
Aggregate functions |
CREATE AGGREGATE |
Defines a new aggregate function. |
ALTER AGGREGATE |
Modifies the definition of an aggregate function. |
|
DROP AGGREGATE |
Drops an existing function. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot