[HACKERS] Problems with BLOBs under Windows?

2001-01-19 Thread Trond Kjernaasen
Hi, I've done some tests with large objects and it works just fine under Linux, but when I try the same code under Windows (I use the libpq frontend) it fails for some reason with lo_read() always returning 0. The test program I'm using is basically a modified version of the one listed in chapt

[HACKERS] Re: Problems with BLOBs under Windows?

2001-01-19 Thread Trond Kjernaasen
Sorry for posting followups on my own mails, but I've noticed that I can actually use lo_read() if I read the BLOBs in chunks of 32760 bytes. If I try to read 32761 bytes it fails for some reason. Thanks, -- Trond K. Trond Kjernaasen <[EMAIL PROTECTED]> writes: > Hi, >