pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-sql@postgresql.org
Subject: Re: Fwd: Start up question about triggers
Date: Fri, 23 Jun 2006 13:35:04 -0400
Message-ID: <20060623173504.GC12422@phlogiston.dyndns.org> (raw)
In-Reply-To: <200606231548.k5NFmhSW028183@auth-smtp.hol.gr>
References: <006901c696c1$d2af82d0$6400a8c0@Dell4500>
	<200606231548.k5NFmhSW028183@auth-smtp.hol.gr>

On Fri, Jun 23, 2006 at 06:48:49PM +0300, Forums @ Existanze wrote:
> 
> Then there exist a TG_QUERY parameter that we could use to get the actual
> query ran by a user, so if I ran the imaginary query

Which "actual query"?  By the time the trigger fires, the query might
already have been rewritten, I think.  No?  I _think_ that even
BEFORE triggers happen after the rewriter stage is called, but
someone who has more clue will be able to correct me if I'm wrong.

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
Everything that happens in the world happens at some place.
		--Jane Jacobs 



view thread (29+ messages)  latest in thread

Message-ID: <20060623173504.GC12422@phlogiston.dyndns.org>
Permalink:  ../20060623173504.GC12422@phlogiston.dyndns.org/
Also on:    postgresql.org/message-id/20060623173504.GC12422@phlogiston.dyndns.org

 · 

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: ajs@crankycanuck.ca
  Subject: Re: Fwd: Start up question about triggers
  In-Reply-To: <20060623173504.GC12422@phlogiston.dyndns.org>

* 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