version 2004
PGSQL_GetByteaValue (resID; fieldIndex; rowIndex; byteaValue) Longint
| Parameter | Type | Description | |
| resID | Longint | Result ID returned by PGSQL_Execute | |
| fieldIndex | Integer | Field index | |
| rowIndex | Longint | Row index | |
| byteaValue | Blob | Bytea value as a 4D Blob | |
| Function result | Longint | Error code (where 0 means no error) |
Description
The PGSQL_GetByteaValue command gets the Bytea value corresponding to the field index and row index passed as parameters. The Bytea value (basically a binary data) is returned as a 4D Blob datatype. 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.
fieldIndex is an Integer that corresponds to the field index.
rowIndex is a Longint that corresponds to the row index.
byteaValue is a Blob that is returned which contains the Bytea value as a 4D Blob.