Hi, I am trying to store some large object in database. I print the number of bytes returned by lo_write. It's greater than zero. However sometime later, I start getting errors for lo_closelike invalid object descriptor fd=0 where df is variable I used for large object fd. Actually after lo_write is done lo_close is called. I wonder why it takes time between these two. I also found that the error values for many functions are not properly documented. e.g. lo_open. One more thing I am not sure of. Am I suppose to commit after I call lo_creat but before I can call lo_open? I am experimenting. I will let you know the results. Shridhar __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])