Re: archiving or versioning data?

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: archiving or versioning data?
Date: 2008-12-17 07:12:56
Message-ID: 20081217071256.GC31285@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

In response to Louis-David Mitterrand :
> Hi,
>
> I'd like to find a way to archive versions of my data in an elegant and
> extensible way.
>
> When a user modifies certain entries I'd like the database to keep the
> previous versions (or a limited, definable number of versions).
> Wiki-style.
>
> Would that be a good use of postgres' arrays?
>
> So I'm looking for "best practices" (tm) on that subject.
>
> Thanks in advance for your suggestions,

You can use tablelog:

08:11 < akretschmer> ??tablelog
08:11 < pg_docbot_adz> For information about 'tablelog' see:
08:11 < pg_docbot_adz> http://andreas.scherbaum.la/blog/archives/100-Log-Table-Changes-in-PostgreSQL-with-tablelog.html
08:11 < pg_docbot_adz> http://pgfoundry.org/projects/tablelog/

It logs all modifications for a particular table.

Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Jaime Casanova 2008-12-17 20:06:48 Re: How can this be legal syntax
Previous Message Louis-David Mitterrand 2008-12-17 06:51:11 archiving or versioning data?