pg_loread

pg_loread -- read a large object

Description

string pg_loread(int fd, int len);

pg_loread() reads at most len bytes from a large object and returns it as a string. fd specifies a valid large object file descriptor andlen specifies the maximum allowable size of the large object segment.