commit within function - Mailing list pgsql-admin

From Anj Adu
Subject commit within function
Date
Msg-id f2fd819a0907151458p728bda87obee24ccbcc437c58@mail.gmail.com
Whole thread Raw
Responses Re: commit within function  (Scott Marlowe <scott.marlowe@gmail.com>)
List pgsql-admin
Is there a way to issue a commit within a function and continue processing? I know this is not possible in 8.1..

We have long running function calls...parts of which are independent of each other. The independent functions are called within a "main" outer function. We would like to commit the data modified by each function as a single unit so that the data is freed up for other modules to act on.

Are there any future postgres releases (we use 8.1.9) that possible address this.

pgsql-admin by date:

Previous
From: Anj Adu
Date:
Subject: Re: out of memory for query, partitioning & vacuuming
Next
From: Scott Marlowe
Date:
Subject: Re: commit within function