Re: Does the psql executable support a "fetch many" approach when dumping large queries to stdout?

От: Hannu Krosing
Тема: Re: Does the psql executable support a "fetch many" approach when dumping large queries to stdout?
Дата: ,
Msg-id: 1270246688.6482.263.camel@hvost
(см: обсуждение, исходный текст)
Ответ на: Does the psql executable support a "fetch many" approach when dumping large queries to stdout?  ("Beaver, John E")
Список: pgsql-performance


On Fri, 2010-04-02 at 16:28 -0400, Beaver, John E wrote:
...

> I know that the query used here could have been a COPY statement, which I assume would
>  be better-behaved, but I'm more concerned about the case in which the query is more complex.

COPY can copy out results of a SELECT query as well.

--
Hannu Krosing   http://www.2ndQuadrant.com
PostgreSQL Scalability and Availability
   Services, Consulting and Training




В списке pgsql-performance по дате сообщения:

От: Samuel Gendler
Дата:
Сообщение: indexes in partitioned tables - again
От: Robert Haas
Дата:
Сообщение: Re: LIMIT causes planner to do Index Scan using a less optimal index