pg_lowrite() writes at most to a large object from a variable data and returns the number of bytes actually written, or FALSE in the case of an error. large_object is a large object resource from pg_loopen().
To use the large object (lo) interface, it is necessary to enclose it within a transaction block.
See also pg_locreate() and pg_loopen().