| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера