Auditing a database - Mailing list pgsql-general

From Germán Hüttemann Arza
Subject Auditing a database
Date
Msg-id 200704190839.54825.ghuttemann@cnc.una.py
Whole thread Raw
List pgsql-general
Hi,

I am developing a web application for auditing tables from a postgresql
database.

My question is: when an update occurrs in the base table, should I insert in
the auditing table the new record or the old one?

I was first inserting the new one but a job partner, who are testing the
application suggested that probably would be better to insert the old record
because it is simpler to follow the trace of updates.

What you suggest?

Regards,

--
Germán Hüttemann Arza
CNC - Centro Nacional de Computación
UNA - Universidad Nacional de Asunción
Campus Universitario, San Lorenzo - Paraguay
http://www.cnc.una.py  - Tel.: 595 21 585550

pgsql-general by date:

Previous
From: "Raymond Hurst"
Date:
Subject: Can Postgresql be ported to a device with no OS and simple file I/O and memory management?
Next
From: Kev
Date:
Subject: Re: Incremental backups