Re: DBD::Pg 'lo_read' fails on >= 32768 byte large objects

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: DBD::Pg 'lo_read' fails on >= 32768 byte large objects
Дата
Msg-id 12847.1060951403@sss.pgh.pa.us
обсуждение исходный текст
Ответ на DBD::Pg 'lo_read' fails on >= 32768 byte large objects  (Kevin Houle <kjh@cert.org>)
Ответы Re: DBD::Pg 'lo_read' fails on >= 32768 byte large objects
Список pgsql-bugs
Kevin Houle <kjh@cert.org> writes:
> The nature of the bug is that an 'lo_read' operation performed
> with DBD::Pg caused a segfault with postgresql-libs-7.3.2 and
> "hangs" on files >= 32768 bytes with postgresql-libs-7.3.4. The
> hang is actually a read() loop on the socket generating EAGAIN
> error on each read().

Can you get us a gdb stack trace from the segfault cases?  (And from
the loop cases too; a stack trace back from the repeated read() call
would be useful.)

Also, does adding/removing SSL encryption affect your results?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: two minor issues with date time types
Следующее
От: Tom Lane
Дата:
Сообщение: Re: DBD::Pg 'lo_read' fails on >= 32768 byte large objects