Updated on 2025-10-11 GMT+08:00

GAUSS-04231 -- GAUSS-04240

GAUSS-04231: "canceling statement due to %s request"

SQLSTATE: 57014

Description: The user or a CN cancels this operation.

Solution: Check the cancellation reason. If the operation needs to be canceled, ignore the error. For unusual cancellations, investigate and fix the issue.

GAUSS-04232: "stack depth limit exceeded"

SQLSTATE: 54001

Description: The stack depth exceeds the upper limit, that is, the value of max_stack_depth_bytes (the default value is 100 x 1024).

Solution: Ensure that the depth of the recursive call function is proper. If the depth is out of limit, set max_stack_depth_bytes to a larger value.

GAUSS-04233: "local xids can be used only in single user mode"

SQLSTATE: 42601

Description: The local XID can be used only in single-user mode.

Solution: Set the --single parameter.

GAUSS-04234: "Postgres-XC: must start as either a Coordinator (--coordinator) or Datanode (-datanode)\n"

SQLSTATE: 42601

Description: Database initialization does not start in either CN or DN mode.

Solution: Start the process in CN or DN mode.

GAUSS-04235: "invalid command-line argument for server process: %s"

SQLSTATE: 42601

Description: An invalid CLI parameter is entered for the service process when the database is connected.

Solution: Use --help to check the parameter function and enter the correct parameter.

GAUSS-04236: "%s: invalid command-line argument: %s"

SQLSTATE: 42601

Description: An invalid CLI parameter is entered when the database is connected.

Solution: Use --help to check the parameter function and enter the correct parameter.

GAUSS-04237: "postgres: could not locate my own executable path"

SQLSTATE: XX000

Description: Internal system error.

Solution:contact technical support

GAUSS-04238: "%s: no database nor user name specified"

SQLSTATE: 22023

Description: Neither the database nor the username is specified when the database is being connected.

Solution: Add the database and username parameter.

GAUSS-04239: "invalid CLOSE message subtype %d"

SQLSTATE: 08P01

Description: An invalid CLOSE command is entered on the client or in the standard input interface.

Solution: Ensure the type of CLOSE is S or P.

GAUSS-04240: "invalid DESCRIBE message subtype %d"

SQLSTATE: 08P01

Description: An invalid DESCRIBE command is entered on the client or in the standard input interface.

Solution: Ensure the type of DESCRIBE is S or P.