BUG #4804: ERROR out of memory on select bytea field legth about 120Mb

Поиск
Список
Период
Сортировка
От Vadim Fedorenko
Тема BUG #4804: ERROR out of memory on select bytea field legth about 120Mb
Дата
Msg-id 200905090908.n4998Lg6094522@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #4804: ERROR out of memory on select bytea field legth about 120Mb
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      4804
Logged by:          Vadim Fedorenko
Email address:      junk@fromru.com
PostgreSQL version: 8.3.3
Operating system:   Windows 2003 Server R2 64bit
Description:        ERROR out of memory on select bytea field legth about
120Mb
Details:

Hi!

I have a database about 4Gb and pg_dump fails with

ERROR:  out of memory
DETAIL:  Failed on request of size 536870912.

on it.

I found out that it fails on selecting bug bytea field:

select length(binarydata) from config where datasize >120000000
results 138124811

and

select binarydata from config where datasize >120000000

results
ERROR:  out of memory
DETAIL:  Failed on request of size 536870912.

how can I workaround this?

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

Предыдущее
От: Peter Much
Дата:
Сообщение: Re: BUG #4801: Performance failure: 600 MB written to each WAL log
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #4804: ERROR out of memory on select bytea field legth about 120Mb