lo_read
Function
Read data from a large object.
Prototype
int lo_read(PGconn* conn, int fd, char* buf, size_t len);
Parameter
Table 1 lo_read parameters
Return Value
int The number of bytes actually read is returned; this will be less than len if the end of the large object is reached first. In the event of an error, the return value is -1.
Example
For details, see Example.
Feedback