Re: Auditing a database

From: Richard Huxton <dev(at)archonet(dot)com>
To: Germán Hüttemann Arza <ghuttemann(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Auditing a database
Date: 2007-04-19 13:25:32
Message-ID: 46276DCC.6070408@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Germán Hüttemann Arza wrote:
> 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?

Old - you already have the new version in the main table.

Before you spend too long working on this though, I'd search for "audit"
on www.pgfoundry.org

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Kenneth Downs 2007-04-19 13:27:33 Re: Auditing a database
Previous Message Germán Hüttemann Arza 2007-04-19 13:15:27 Auditing a database