PQGetBatchErrorOffset
Description
Obtains the offset row number of the error with the specified value of idx in the batch request. (The value of idx starts from 0.)
Prototype
int PQGetBatchErrorOffset(PGresult* result, int idx);
Parameters
|
Keyword |
Description |
|---|---|
|
result |
Execution result of PQexecPreparedBatchEx |
|
idx |
Specifies the error number to be obtained (starting from 0). |
Return Value
Integer.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.