pg_lo_write

Example

 int pg_lo_write ( resource $large_object , string $data [, int $len ] ) 

Description

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().

Return Values

The number of bytes written to the large object, or FALSE on error.