Re: Versioning control in PostgreSQL?

From: Shridhar Daithankar <shridhar_daithankar(at)myrealbox(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Versioning control in PostgreSQL?
Date: 2003-10-28 13:04:06
Message-ID: 200310281834.06328.shridhar_daithankar@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tuesday 28 October 2003 17:13, Alex Page wrote:
> I haven't used PostgreSQL for nearly a year now, and when I was last
> using it there was some discussion on versioning control being
> introduced as a feature. Basically, for some data, I'd like to keep
> track of who changed it, when, and to what. I know I could include
> multiple values in the schema, and have a view to pull out the most
> recent, but I was wondering if there was something more automatic that
> is a feature of PostgreSQL itself. I've looked around the documentation
> with no success. Does anybody know if this is possible?

No. It does have multiversion rows but rows updated in previous transaction
are not accessible to users.

The rows will remain on disk eating space till you vacuum. There is no way of
accessing them.

Actually it could be a nice feature if we could access them. For certain
applications, having entire database audited is like dream come true. Of
course it has to provide timestamps/transaction ids as well but in general
that would be pretty handy in some situation.

Alas... that is toooo much fundamental to ask for a feature..:-)

Shridhar

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Victor Spång Arthursson 2003-10-28 13:14:51 Newbie-question
Previous Message Alex Page 2003-10-28 11:43:44 Versioning control in PostgreSQL?