version 2004
PGSQL_GetResultErrorMess (resID; errorMess) Longint
| Parameter | Type | Description | |
| resID | Longint | Result ID returned by PGSQL_Execute | |
| errorMess | String | Error message | |
| Function result | Longint | Error code (where 0 means no error) |
Description
The PGSQL_GetResultErrorMess command gives the error message of a command that fails to execute. It returns an error code (Longint) where 0 means no error.
resID is a Longint that corresponds to the result ID returned by PGSQL_Execute.
errorMess is a String that is returned which corresponds to the error message.