absolute or relative updates - Mailing list pgsql-general

From pgsql-general@list.coretech.ro
Subject absolute or relative updates
Date
Msg-id 437B63C9.4090801@list.coretech.ro
Whole thread Raw
Responses Re: absolute or relative updates
List pgsql-general
I want to write a trigger that logs any changes that are made to a row.
I have the old an new row values, but I am more interested in knowing if
the update was absolute "UPDATE table SET col = 3" or relative "UPDATE
table SET col = col + 2".
Is the a way (any way) to access this type of information ? In any
language available (C, PLPGSQL, etc.)

Thanks
Razvan Radu



pgsql-general by date:

Previous
From: "Guy Rouillier"
Date:
Subject: Re: PREPARE TRANSACTION and webapps
Next
From: Andrew Sullivan
Date:
Subject: Re: Cursors or Offset, Limit?