Re: Postgres table contents versioning - Mailing list pgsql-general

From Tim Landscheidt
Subject Re: Postgres table contents versioning
Date
Msg-id m3lj9wd388.fsf@passepartout.tim-landscheidt.de
Whole thread Raw
In response to Postgres table contents versioning  (John Gage <jsmgage@numericable.fr>)
List pgsql-general
John Gage <jsmgage@numericable.fr> wrote:

> Is there an equivalent of svn/git etc. for the data in a
> database's tables?

> Can I set something up so that I can see what was in the
> table two days/months etc. ago?

> I realize that in the case of rapidly changing hundred
> million row tables this presents an impossible problem.

> The best kludge I can think of is copying the tables to a
> directory and git-ing the directory.

If you're looking at this from a disaster recovery point of
view, you should read up on PostgreSQL's PITR capabilities.
If you need the information in your application, you should
google for "temporal databases" on how to amend your table
structures.

Tim

pgsql-general by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: Postgres table contents versioning
Next
From: Tom Lane
Date:
Subject: Re: alter table schema, default sequences stay the same