Re: Feature request from irc...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Feature request from irc...
Date: 2005-06-29 04:23:49
Message-ID: 4677.1120019029@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
> Is it possible for a pl/pgsql trigger function to look at the sql
> command that caused it to be triggered? If not, is this an idea?

What exactly is the use case for this? It cannot have anything to do
with assuming that you know what has happened or will happen, since
you cannot know how the original query behavior has been modified by
triggers that fired before you did or will fire after you.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2005-06-29 04:28:34 Re: Implementing SQL/PSM for PG 8.2 - debugger
Previous Message Tom Lane 2005-06-29 04:18:07 Re: Odd message with initdb on latest HEAD