Partial commit within the trasaction - Mailing list pgsql-general

From Bohdan Linda
Subject Partial commit within the trasaction
Date
Msg-id 20050908112353.GA13855@bafster.chello.upc.cz
Whole thread Raw
Responses Re: Partial commit within the trasaction
List pgsql-general

Hello,


I have read that 7.x version had a model "all or nothing" in transactions.
Thus I have upgraded to version 8 and would like to do the following:

plpgsq code does time intensive data manipulation + database vacuuming.
This data manipulation is splitted logically into several steps. After
each step I would like to give a message to the status table, what the
procedure is performing.

Currently I pass the information to the table via insert, but this is also
the limitation. I would like to allow another user see the progress of the
current pgplsql procedure, but no insert is commited, till procedure ends.

How this can be solved?

Regards,
Bohdan

pgsql-general by date:

Previous
From: "Andrey Fomichev"
Date:
Subject: Re: PostgreSQL and XML support
Next
From: Roman Neuhauser
Date:
Subject: Re: Acting on dropped/timed-out connections