WFS service in Mapserver directly changes the PostgreSQL table whenever performing a transaction operation such as insert, update or delete.
I want a solution which gives me control over what happens when a transaction request is received from the client.
For example, when a new value is inserted, instead of making changes in original table I want to create another table in SQL which would be a clone of previous one and make changes in that table. So, that the original table remains the same.