Copy Interface for Error Tolerance

Availability

This feature is available since openGauss 1.0.0.

Introduction

Certain errors that occur during the copy process are imported to a specified error table without interrupting the process.

Benefits

Refine the copy function and improve the tolerance and robustness to common errors such as invalid formats.

Description

openGauss provides the encapsulated copy error tables for creating functions and allows users to specify error tolerance options when using the Copy From statement. In this way, errors related to parsing, data format, and character set during the execution of the Copy From statement are recorded in the error table instead of being reported and interrupted. Even if a small amount of data in the target file of Copy From is incorrect, the data can be imported to the database. You can locate and rectify the fault in the error table later.

Enhancements

None

Constraints

For details, see “Importing Data > Running the COPY FROM STDIN Statement to Import Data > Handling Import Errors” in the Developer Guide.

Dependencies

None

Feedback
编组 3备份
    openGauss 2024-04-22 00:47:24
    cancel