Re: is there a function in postgresql that can be used for retrieving deleted rows - Mailing list pgsql-general

From Pavel Stehule
Subject Re: is there a function in postgresql that can be used for retrieving deleted rows
Date
Msg-id CAFj8pRCeExEfr4t37TJDOo926eFnxF_+qzFbHhJRXFpVWOkf4w@mail.gmail.com
Whole thread Raw
In response to is there a function in postgresql that can be used for retrieving deleted rows  ("Charles Waweru" <cwaweru@systempartners.biz>)
Responses Re: is there a function in postgresql that can be used for retrieving deleted rows  (Basil Bourque <basil.list@me.com>)
List pgsql-general
Hello

2011/10/22 Charles Waweru <cwaweru@systempartners.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

pgsql-general by date:

Previous
From: "Charles Waweru"
Date:
Subject: is there a function in postgresql that can be used for retrieving deleted rows
Next
From: Adrian Klaver
Date:
Subject: Re: 9.0: plpgsql eror when restoring a database as a non superuser