Re: pg_restore out of memory

Поиск
Список
Период
Сортировка
От Francisco Reyes
Тема Re: pg_restore out of memory
Дата
Msg-id cone.1182278497.186236.90929.5001@35st.simplicato.com
обсуждение исходный текст
Ответ на Re: pg_restore out of memory  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-general
Alvaro Herrera writes:

> Can you send the program along?  And the table definition (including
> indexes, etc)?

I put the table definition and a Python program that reproduces the problem
at:

http://public.natserv.net/table-schema.sql
http://public.natserv.net/large_record.py

The program uses the psycopg2 library.
All the program does is to send test data to the table, in particular doing
a large text size for a text column called attachment_body.

The database doesn't give an out of error message like when trying to run a
copy, but instead generates a lot output to the log such as
http://public.natserv.net/postgresql-2007-06-19.txt

The out of memory error when trying to use the copy command is
http://public.natserv.net/postgresql-2007-06-15.log

Thanks for any further pointers and suggestions.
Don't know what else to try at this point.

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

Предыдущее
От: John K Masters
Дата:
Сообщение: Re: initdb
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Looking for Graphical people for PostgreSQL tradeshow signage