Re: Query Failed, out of memory

Поиск
Список
Период
Сортировка
От Chris Mair
Тема Re: Query Failed, out of memory
Дата
Msg-id 1160066105.2501.43.camel@ultra.home.lan
обсуждение исходный текст
Ответ на Re: Query Failed, out of memory  ("Mark Woodward" <pgsql@mohawksoft.com>)
Ответы Re: Query Failed, out of memory  ("Mark Woodward" <pgsql@mohawksoft.com>)
Список 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

Bye,
Chris.




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

Предыдущее
От: "Mark Woodward"
Дата:
Сообщение: Re: Query Failed, out of memory
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Query Failed, out of memory