version 2004
PGSQL_ImportLOB (connID; filePath; objectID) Longint
| Parameter | Type | Description | |
| connID | Longint | Connection ID returned by PGSQL_Connect | |
| filePath | String | File path of the doc you want to import | |
| objectID | Longint | Large object reference | |
| Function result | Longint | Error code (where 0 means no error) |
Description
The PGSQL_ImportLOB command imports the document data referenced by filePath and returns the Object ID that references the LOB in the Large Object System table. It returns an error code (Longint) where 0 means no error.
connID is a Longint that corresponds to the connection ID returned by PGSQL_Connect.
filePath is a String that corresponds to the file path of the doc you want to import.
objectID is a Longint that is returned which corresponds to the large object reference.