pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Poole <rp@guests.deus.net>
To: pgsql-sql@postgresql.org
Subject: Re: Trigger and function not on speaking terms
Date: Mon, 2 Aug 2004 22:20:31 +0100
Message-ID: <20040802212031.GA20726@guests.deus.net> (raw)
In-Reply-To: <BjxPc.133622$vJ6.20511@cyclops.nntpserver.com>
References: <BjxPc.133622$vJ6.20511@cyclops.nntpserver.com>

On Mon, Aug 02, 2004 at 04:20:15PM -0400, Jeff Boes wrote:

> It would seem my trigger definition is trying to find fn_foo(), when I 
> mean for it to call fn_foo(TEXT).

Triggers have to be declared to take no arguments; they find the rows on
which they operate in magical ways. (For PL/PgSQL triggers, see chapter
37.10 of the manual.)

Richard



view thread (4+ messages)  latest in thread

Message-ID: <20040802212031.GA20726@guests.deus.net>
Permalink:  ../20040802212031.GA20726@guests.deus.net/
Also on:    postgresql.org/message-id/20040802212031.GA20726@guests.deus.net

 · 

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: rp@guests.deus.net
  Subject: Re: Trigger and function not on speaking terms
  In-Reply-To: <20040802212031.GA20726@guests.deus.net>

* 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