Updated on 2024-03-15 GMT+08:00

GAUSS-02151 -- GAUSS-02160

GAUSS-02151: "PGXC Node %s: object already defined"

SQLSTATE: 42710

Description: The object has been defined. The node corresponding to the specified node name has been created.

Solution: Modify the specified node name.

GAUSS-02152: "Node name '%s' is too long"

SQLSTATE: 42P17

Description: The specified node name is too long.

Solution: Modify the specified node name.

GAUSS-02153: "Failed to create coordinator, the maximum number of coordinators %d specified by 'max_coordinators' has been reached."

SQLSTATE: 42601

Description: A syntax error occurs. The number of CNs created has exceeded that specified by max_coordinators.

Solution: Increase the max_coordinators value.

GAUSS-02154: "Failed to create datanode, the maximum number of datanodes %d specified by 'max_datanodes' has been reached."

SQLSTATE: 42601

Description: A syntax error occurs. The number of DNs created has exceeded that specified by max_datanodes.

Solution: Increase the max_datanodes value.

GAUSS-02155: "PGXC node %s: two nodes cannot be primary"

SQLSTATE: 42601

Description: A syntax error occurs. A primary node has been created.

Solution: Change the primary node created to a non-primary node as required.

GAUSS-02156: "must be system admin to change cluster nodes"

SQLSTATE: 42501

Description: Only system administrators can execute the alter node statement.

Solution: Execute the statement as a system administrator.

GAUSS-02157: "cache lookup failed for object %u"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-02158: "PGXC node %s: cannot alter Coordinator to Datanode"

SQLSTATE: 42601

Description: A syntax error occurs. The CN cannot be changed to a DN.

Solution: Do not change the CN to a DN.

GAUSS-02159: "PGXC node %s: cannot alter Datanode to Coordinator"

SQLSTATE: 42601

Description: A syntax error occurs. The DN cannot be changed to a CN.

Solution: Do not change the DN to a CN.

GAUSS-02160: "must be system admin to remove cluster nodes"

SQLSTATE: 42501

Description: Only the system administrator has the rights to execute the drop node statement.

Solution: Execute the statement as a system administrator.