pg_loread

(PHP 3, PHP 4 )

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.