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

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: 2008-08-01 19:55:21
Message-ID: 200808011555.21627.xzilla@users.sourceforge.net (view raw or flat)
Thread:
Lists: pgsql-students
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

In response to

pgsql-students by date

Next:From: ocaDate: 2008-08-09 14:15:06
Subject: Problem accessing View in VB6
Previous:From: ocaDate: 2008-07-31 22:26:11
Subject: Loggin a user who changed something in cetain table

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group