Re: Query Failed, out of memory

Поиск
Список
Период
Сортировка
От Mark Woodward
Тема Re: Query Failed, out of memory
Дата
Msg-id 18128.24.91.171.78.1160067351.squirrel@mail.mohawksoft.com
обсуждение исходный текст
Ответ на Re: Query Failed, out of memory  (Chris Mair <chrisnospam@1006.org>)
Список pgsql-hackers
>
>> > FWIW, there's a feature in CVS HEAD to instruct psql to try to use a
>> > cursor to break up huge query results like this.  For the moment I'd
>> > suggest using COPY instead.
>>
>>
>> That's sort of what I was afraid off. I am trying to get 100 million
>> records into a text file in a specific order.
>>
>> Sigh, I have to write a quick program to use a cursor. :-(
>
> Why don't you try the psql client from 8.2beta1 then? This way you don't
> have to write the program yourself and you're helping out with beta
> testing as well :-)
> See FETCH_COUNT in
> http://developer.postgresql.org/pgdocs/postgres/app-psql.html
>

Well, maybe next time, it only took about 10 minutes to write. It is a
simple program.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: timestamp subtraction (was Re: [SQL] formatting intervals with to_char)
Следующее
От: "Luke Lonergan"
Дата:
Сообщение: Re: Query Failed, out of memory