Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Loggin a user who changed something in cetain table


  • From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
  • To: pgsql-students(at)postgresql(dot)org
  • Cc: oca(at)mvc(dot)edu(dot)ph
  • Subject: Re: Loggin a user who changed something in cetain table
  • Date: Fri, 01 Aug 2008 15:55:21 -0400
  • Message-id: <200808011555.21627.xzilla@users.sourceforge.net> <text/plain>

On Thursday 31 July 2008 18:26:11 oca(at)mvc(dot)edu(dot)ph wrote:
> hi,
>
> how can i logged users activity in the table where he is manipulating
> someting?
>
> like if i have a table:
>
> Table: charge_rates
>         Field1, Field2, Field3, user, time
>
> when a user login to postgre and manipulated (INSERT or UPDATE)
> something on that table, is there a way that i can record it in that
> table and specifically put the username on the record he changed?
>

http://pgfoundry.org/projects/tablelog/
http://andreas.scherbaum.la/blog/archives/100-Log-Table-Changes-in-PostgreSQL-with-tablelog.html
HTH

-- 
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group