Re: Re: Problems with BLOBs under Windows?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: Problems with BLOBs under Windows?
Дата
Msg-id 9559.979929802@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Problems with BLOBs under Windows?  (Trond Kjernaasen <trond@trolltech.com>)
Список pgsql-hackers
Trond Kjernaasen <trond@trolltech.com> writes:
> 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.

I'm betting that something is rounding up to the next multiple of 8
bytes, and then something else is trying to fit the result in a short
integer.  Dunno where though --- AFAIR, all the LO-related code uses
integer counts, and I can't think of a good reason for rounding off
to an alignment multiple either.

Can you pursue this further and identify the culprit?  I have no time
for it at the moment.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: [PATCHES] s_lock.h cleanup
Следующее
От: "Mikheev, Vadim"
Дата:
Сообщение: RE: Possible performance improvement: buffer replacemen t policy