Updated on 2023-12-22 GMT+08:00

GAUSS-04241 -- GAUSS-04250

GAUSS-04241: "Invalid command received"

SQLSTATE: XX000

Description: An invalid command capitalized with b (not bP, bX, or bE) is entered on the client or in the standard input interface.

Solution: Enter the correct command.

GAUSS-04242: "cannot execute %s in a read-only transaction"

SQLSTATE: 25006

Description: Database updating operations are performed in a read-only transaction.

Solution: Ensure that the updating operations are performed in non-read-only transactions.

GAUSS-04243: "cannot execute %s during recovery"

SQLSTATE: 25006

Description: Internal system error.

Solution: Contact technical support.

GAUSS-04244: "cannot execute %s within security-restricted operation"

SQLSTATE: 42501

Description: Security-restricted operations are executed.

Solution: Contact technical support.

GAUSS-04245: "Invalid transaciton_id to prepare."

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-04246: "SAVEPOINT is not yet supported."

SQLSTATE: 54001

Description: SAVEPOINT is not supported.

Solution: Ensure that SAVEPOINT is not used.

GAUSS-04247: "non-DECLARE CURSOR PlannedStmt passed to ProcessUtility"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-04248: "CREATE not supported for TEMP and non-TEMP objects"

SQLSTATE: 0A000

Description: A statement is used for supporting both temporary and non-temporary objects.

Solution: Change SQL statements and use multiple statements to support temporary and non-temporary objects.

GAUSS-04249: "Postgres-XC does not support FOREIGN DATA WRAPPER yet"

SQLSTATE: 0A000

Description: FOREIGN DATA WRAPPER is not supported.

Solution: Internal system error. Contact technical support.

GAUSS-04250: "Postgres-XC does not support USER MAPPING yet"

SQLSTATE: 0A000

Description: The CREATE USER MAPPING statement is not supported.

Solution: Do not execute the statement CREATE USER MAPPING.