Обсуждение: Large object help requierd

Поиск
Список
Период
Сортировка

Large object help requierd

От
Shridhar Daithankar
Дата:
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/