Re: Cursors and Transactions, why? - Mailing list pgsql-general

From Tom Lane
Subject Re: Cursors and Transactions, why?
Date
Msg-id 4998.1081310975@sss.pgh.pa.us
Whole thread Raw
In response to Re: Cursors and Transactions, why?  (<wespvp@syntegra.com>)
Responses Re: Cursors and Transactions, why?
List pgsql-general
<wespvp@syntegra.com> writes:
> On 4/6/04 3:55 PM, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
>> In theory at least, that should not be any faster than a WITH HOLD
>> cursor, since you're effectively replicating the same functionality
>> outside the database ...

> Except for the "out of memory" thing...

What "out of memory thing"?  The tuplestore code is perfectly capable of
spilling to disk --- in fact the usual performance gripe against it has
to do with spilling too soon, because sort_mem is set too small.

            regards, tom lane

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Logging database and statement with errors
Next
From: Bruce Momjian
Date:
Subject: Re: thread_test.c problems