Complete instruction in a trigger

From: Wilton <wilton(dot)wonrath(at)microwork(dot)inf(dot)br>
To: pgsql-sql(at)postgresql(dot)org
Subject: Complete instruction in a trigger
Date: 2005-01-27 12:21:15
Message-ID: 41F8DCBB.3040707@microwork.inf.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message KÖPFERL Robert 2005-01-27 12:46:50 What's the equivalent in PL/pgSQL
Previous Message Sean Davis 2005-01-27 12:08:03 Re: Constraint on 2 column possible?