Re: archiving or versioning data?
От | A. Kretschmer |
---|---|
Тема | Re: archiving or versioning data? |
Дата | |
Msg-id | 20081217071256.GC31285@a-kretschmer.de обсуждение исходный текст |
Ответ на | archiving or versioning data? (Louis-David Mitterrand <vindex+lists-pgsql-sql@apartia.org>) |
Список | 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
В списке pgsql-sql по дате отправления: