| From: | Shridhar Daithankar <chamanya(at)yahoo(dot)com> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Large object help requierd |
| Date: | 2001-09-19 13:32:05 |
| Message-ID: | 20010919133205.20637.qmail@web11408.mail.yahoo.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2001-09-19 13:41:18 | Re: Beta time |
| Previous Message | Serguei Mokhov | 2001-09-19 12:57:02 | [OT] http://www.postgresql.ca.org |