Re: creating audit tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Scott Cain <cain(at)cshl(dot)org>
Cc: Richard Huxton <dev(at)archonet(dot)com>, Ian Harding <iharding(at)tpchd(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: creating audit tables
Date: 2004-10-15 15:02:58
Message-ID: 9263.1097852578@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Scott Cain <cain(at)cshl(dot)org> writes:
> Heck! So much for feeling close. It is somewhat frustrating to me that
> such an obviously useful tool (having and using audit tables) should be
> so difficult to implement.

The only really reasonable way to implement this is as a C function
anyway. I think anything involving a PL language is going to be a huge
performance drag, if you intend to put it on essentially every table.

There are some pretty closely related examples in contrib/spi/, though
I don't see anything that does *exactly* what you want. If you came up
with something that does, I think it'd be reasonable to add it to that
set of examples ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-10-15 15:09:22 Re: tcl bindings for 8.0
Previous Message Alvaro Herrera 2004-10-15 14:48:10 Re: converting database to unicode