pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wilton <wilton.wonrath@microwork.inf.br>
To: pgsql-sql@postgresql.org
Subject: Complete instruction in a trigger
Date: Thu, 27 Jan 2005 09:21:15 -0300
Message-ID: <41F8DCBB.3040707@microwork.inf.br> (raw)

Hi...
 
People, i wanna know how can i know inside of a function whar the 
trigger called, i mean which instruction SQL it called.

I do not wanna know if it´s a insert, update or delete (tp_op), i need 
to know the complete instruction.

For example, i need to know something like this:

update phones set number = '9999-2222';

Do you know if maybe exists a tg_stantement?

Thanks very much... see ya


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 25/1/2005




view thread (4+ messages)  latest in thread

Message-ID: <41F8DCBB.3040707@microwork.inf.br>
Permalink:  ../41F8DCBB.3040707@microwork.inf.br/
Also on:    postgresql.org/message-id/41F8DCBB.3040707@microwork.inf.br

 · 

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-sql@postgresql.org
  Cc: wilton.wonrath@microwork.inf.br
  Subject: Re: Complete instruction in a trigger
  In-Reply-To: <41F8DCBB.3040707@microwork.inf.br>

* 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