Re: Nested Transactions in PL/pgSQL

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "Nykolyn, Andrew" <andrew(dot)nykolyn(at)ngc(dot)com>
Cc: John DeSoi <desoi(at)pgedit(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Nested Transactions in PL/pgSQL
Date: 2007-07-06 13:49:28
Message-ID: 20070706134928.GB5797@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nykolyn, Andrew wrote:
> My real issue is not that I need subtransactions but I need to flush the
> buffer so that I can regain memory for my stored procedure to complete
> without getting a memory error.

Please don't top-post.

Normal operation does not "fill buffers", thus they don't need any
flushing. There must be something weird about what your SP is doing.
Can we see it? Are you maybe opening and keeping half-scanned a lot of
cursors? If not, can you explain in much detail what it is doing?

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Knut P. Lehre 2007-07-06 13:54:40 REVOKE "ALL FROM ALL"
Previous Message Perry Smith 2007-07-06 13:39:50 Re: Polymorphic delete help needed