Thread: pg_lo_write

pg_lo_write

From
"Paul Skinner"
Date:

pg_lo_write

Name

pg_lo_write -- write a large object

Synopsis

pg_lo_write conn fd buf len

 

How to get pgTCL to overwrite the contents of a LO when writing to an existing LO?  It seems to only write the contents of a new buffer overtop the existing content.  The result is the you have the new data, followed by what was already there.  Is there a magic EOF character that can be used to indicate the end of data???
 
P