U0000006:GaussDB does not support XXX as a column name of the table
Description
Database Type and Version
- Source database type and version: all types
- Target database type and version: GaussDB (M-compatible mode)
Syntax Example
On GaussDB databases, the following identifiers are system column names and cannot be used as column names in custom tables:
CTID, XMIN, CMIN, XMAX, CMAX, TABLEOID, XC_NODE_ID, TID, GS_TUPLE_UID, and TABLEBUCKETID
The following example is not supported in GaussDB:
CREATE TABLE ctid_test(ctid INT);
- During migration to GaussDB (M-compatible mode), if the preceding identifiers are used as column names in the table, these column names are not converted and this error is reported.
- During migration to other database types, if the preceding identifiers are used as column names in the table, double quotation marks are added and all letters are converted to uppercase by default. TID can be used as a custom column name in GaussDB Centralized V2.0-8.0 and later and in GaussDB Distributed V2.0-8.100 and later.
Suggestion
If the preceding system column names are used in the source database, you are advised to rename them according to object naming rules of GaussDB before migration. For details about object naming rules, see GaussDB Developer Guide.
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