Re: Versioning control in PostgreSQL?

From: Fernando Nasser <fnasser(at)redhat(dot)com>
To: Alex Page <alex(dot)page(at)cancer(dot)org(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Versioning control in PostgreSQL?
Date: 2003-10-28 15:51:41
Message-ID: 3F9E908D.4070500@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?
>

Wouldn't a trigger on update (and insert) that writes to a 'changes' table do
what you want?

--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser(at)redhat(dot)com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Ayers 2003-10-28 15:57:01 Re: Newbie-question
Previous Message Jim Crate 2003-10-28 15:44:41 Re: shared memory on OS X - 7.4beta4