Re: Does the psql executable support a "fetch many" approach when dumping large queries to stdout? - Mailing list pgsql-performance

From Hannu Krosing
Subject Re: Does the psql executable support a "fetch many" approach when dumping large queries to stdout?
Date
Msg-id 1270246688.6482.263.camel@hvost
Whole thread Raw
In response to Does the psql executable support a "fetch many" approach when dumping large queries to stdout?  ("Beaver, John E" <John_Beaver@hms.harvard.edu>)
List 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 by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: How to fast the REINDEX
Next
From: Lew
Date:
Subject: Re: Using high speed swap to improve performance?