Partial commit within the trasaction

From: Bohdan Linda <bohdan(dot)linda(at)seznam(dot)cz>
To: pgsql-general(at)postgresql(dot)org
Subject: Partial commit within the trasaction
Date: 2005-09-08 11:23:56
Message-ID: 20050908112353.GA13855@bafster.chello.upc.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bohdan Linda 2005-09-08 11:25:35 [awitney@sgul.ac.uk: Re: Access management for DB project.]
Previous Message Roman Neuhauser 2005-09-08 11:11:55 Re: Acting on dropped/timed-out connections