Unix Technical Forum

audit system for parent-child tables

This is a discussion on audit system for parent-child tables within the Pgsql General forums, part of the PostgreSQL category; --> Hello list, I have the need to audit a purchase order process that mainly deals with PO header and ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008, 08:45 AM
josue
 
Posts: n/a
Default audit system for parent-child tables

Hello list,

I have the need to audit a purchase order process that mainly deals with
PO header and details table, users need to know at any given time how
the purchase order was, like a snapshot, I already log any change to a
separate parallel table.

One way I could do is log each change in both tables a insert in the
audit tables each row in the detail and the row of the header, but that
way could generate a lot of data,

any idea or suggestion to get this done in postgresql ?

Thanks in advance



--
Sinceramente,
Josué Maldonado.

.... "El verdadero placer está en la búsqueda, más que en la
explicación." -- Isaac Asimov

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:28 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com