Rules on Select - Mailing list pgsql-general

From Sean Hamilton
Subject Rules on Select
Date
Msg-id 445BBA1C.7080902@chfund.org
Whole thread Raw
Responses Re: Rules on Select
Re: Rules on Select
List pgsql-general
I have to log each time a user selects data from a table by inserting
record in another table.
For example
I have table xzy
user test selects id, name from table xyz.
I want to insert into table xyz_log
user, action, fields, timestamp
test, select, id name, 12/1/05 02:00:21

How can i do this using a Rule or Trigger?

Thanks

pgsql-general by date:

Previous
From: "Tzahi Fadida"
Date:
Subject: Google Summer of Code: Full Disjunctions
Next
From: Douglas McNaught
Date:
Subject: Re: Function query plan