pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: vivek@staff.ownmail.com
To: pgsql-interfaces@postgresql.org
Subject: change tuple before insert
Date: Wed, 2 Aug 2006 16:33:39 +0530
Message-ID: <200608021103.k72B3dsU018810@mail009.ownmail.com> (raw)


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@staff.ownmail.com
Trikon electronics Pvt. Ltd.

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






view thread (3+ messages)  latest in thread

Message-ID: <200608021103.k72B3dsU018810@mail009.ownmail.com>
Permalink:  ../200608021103.k72B3dsU018810@mail009.ownmail.com/
Also on:    postgresql.org/message-id/200608021103.k72B3dsU018810@mail009.ownmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: vivek@staff.ownmail.com
  Subject: Re: change tuple before insert
  In-Reply-To: <200608021103.k72B3dsU018810@mail009.ownmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox