Re: is there a function in postgresql that can be used for retrieving deleted rows

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Charles Waweru <cwaweru(at)systempartners(dot)biz>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: is there a function in postgresql that can be used for retrieving deleted rows
Date: 2011-10-22 16:59:16
Message-ID: CAFj8pRCeExEfr4t37TJDOo926eFnxF_+qzFbHhJRXFpVWOkf4w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello

2011/10/22 Charles Waweru <cwaweru(at)systempartners(dot)biz>:
> I am looking for a tool in the PostgreSQL database that can help to audit
> fraudulent activities on a PostgreSQL database. Of particular interest is
> how to retrieve say from a PostgreSQL sales database all the deleted rows.
>

you can use triggers

PostgreSQL has no other internal mechanism, but triggers and well
access rights are enough for this purposes

Regards

Pavel Stehule

>
>
> Any suggestion please would be appreciated.
>
>
>
> Charles

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2011-10-22 17:09:59 Re: 9.0: plpgsql eror when restoring a database as a non superuser
Previous Message Tom Lane 2011-10-22 16:21:37 Re: 9.0: plpgsql eror when restoring a database as a non superuser