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

GAUSS-02901 -- GAUSS-02910

GAUSS-02901: "invalid external 'cidr' value"

SQLSTATE: 22P03

Description: The network address is invalid.

Solution: Check whether the format of the entered network address is correct.

GAUSS-02902: "invalid inet bit length: %d"

SQLSTATE: 22023

Description: Internal system error.

Solution: Contact technical support.

GAUSS-02903: "invalid mask length: %d"

SQLSTATE: 22023

Description: The network address is invalid.

Solution: Check whether the format of the entered network address is correct.

GAUSS-02904: "could not format cidr value: %m"

SQLSTATE: 22P03

Description: Failed to format the CIDR format for the network address.

Solution: Check whether the data to be formatted is a valid network address.

GAUSS-02905: "unsupported type: %u"

SQLSTATE: 0A000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-02906: "cannot AND inet values of different sizes"

SQLSTATE: 22023

Description: IPv4 addresses and IPv6 addresses cannot be used as AND operands at the same time.

Solution: Check whether the left and right operands of AND are the same IP address family.

GAUSS-02907: "cannot OR inet values of different sizes"

SQLSTATE: 22023

Description: IPv4 addresses and IPv6 addresses cannot be used as OR operands at the same time.

Solution: Check whether the left and right operands of OR are the same IP address family.

GAUSS-02908: "result is out of range"

SQLSTATE: 22003

Description: Internal system error.

Solution: Contact technical support.

GAUSS-02909: "cannot subtract inet values of different sizes"

SQLSTATE: 22023

Description: IPv4 addresses and IPv6 addresses cannot be used as SUBTRACT operands at the same time.

Solution: Check whether the left and right operands of SUBTRACT are the same IP address family.

GAUSS-02910: "arraycontsel called for unrecognized operator %u"

SQLSTATE: XX000

Description: The array operation is incorrect.

Solution: Contact technical support. Alternatively, check the statement or data.