Large object help requierd - Mailing list pgsql-hackers

From Shridhar Daithankar
Subject Large object help requierd
Date
Msg-id 20010919133205.20637.qmail@web11408.mail.yahoo.com
Whole thread Raw
List pgsql-hackers
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/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Beta time
Next
From: "Marc G. Fournier"
Date:
Subject: Re: Major change to CVS effective immediately ...