Re: [PERFORM] Accessing insert values in triggers

2005-02-03 Thread Michael Fuhr
On Wed, Feb 02, 2005 at 06:02:28PM +0800, Hasnul Fadhly bin Hasan wrote: > When new data is inserted, we have to use new. to access the data. > Is there another way to access the data that would be more generic > like value[1] and so on? This way, the tracker is independant of any > tables

[PERFORM] Accessing insert values in triggers

2005-02-02 Thread Hasnul Fadhly bin Hasan
Hi, I am trying to build a function that would extend the trigger in general tid bits that would only track count changes for table rows. The one i am trying to build would check which column and value should be tracked. e.g. below would be the tracker. CREATE TABLE "public"."" ( "tables"