int pg_lo_write ( resource $large_object , string $data [, int $len ] )
pg_lo_write() writes data into a large object at the current seek position. To use the large object interface, it is necessary to enclose it within a transaction block. Note: This function used to be called pg_lowrite().
The number of bytes written to the large object, or FALSE on error.