change tuple before insert

From: <vivek(at)staff(dot)ownmail(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: change tuple before insert
Date: 2006-08-02 11:03:39
Message-ID: 200608021103.k72B3dsU018810@mail009.ownmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


How do i change the contents of a tuple for a row level trigger? do i have to return tg_trigtuple or tg_newtuple? The doc is confusing. it says a tg_newtuple can only be used in case of an update>

With warm regards.

Vivek J. Joshi.

vivek(at)staff(dot)ownmail(dot)com
Trikon electronics Pvt. Ltd.

All science is either physics or stamp collecting.
-- Ernest Rutherford

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Andro 2006-08-02 11:18:06 [libpq] columns binding?
Previous Message gouse shaik 2006-08-02 06:07:45 PGconn structure