Large objects fixed

Поиск
Список
Период
Сортировка
От Peter T Mount
Тема Large objects fixed
Дата
Msg-id Pine.LNX.3.95.980106120727.16836B-100000@maidast
обсуждение исходный текст
Список pgsql-hackers
Well, I've found the problem that was breaking Large Objects and, although
I have a fix, I still believe the cause is still there.

It wasn't a protocol problem after all, but a memory leak that was causing
the backend to throw a Segmentation Violation when an argument was being
free'd.

For example:

Running src/test/example/testlo2, it calls lo_import on a file, then
lo_export to export the newly formed large object to another file.

Anyhow, every time, on the last call to lo_write (when importing the
file), the backend seemed to just die. The only difference between this
call and the previous calls, is that the amount of data to write is
smaller. Even changing the block size didn't change this fact.

Anyhow, I'm now trying to break it before posting the patch, but both
libpq & JDBC are running flawlessly.

Hopefully, the patch will be up later this afternoon.

--
Peter T Mount  petermount@earthling.net or pmount@maidast.demon.co.uk
Main Homepage: http://www.demon.co.uk/finder
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk


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

Предыдущее
От: Integration
Дата:
Сообщение: My 2c on adjustable blocksizes
Следующее
От: Peter T Mount
Дата:
Сообщение: Re: [HACKERS] I want to change libpq and libpgtcl for better handling of large query results