Re: Trigger/Function problem

From: Ludwig Lim <lud_nowhere_man(at)yahoo(dot)com>
To: Andreas Johansson <andreas(dot)johansson(at)cention(dot)se>
Cc: PostgreSQL Mailing List <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Trigger/Function problem
Date: 2002-08-21 09:11:18
Message-ID: 20020821091118.2695.qmail@web40018.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


--- Andreas Johansson <andreas(dot)johansson(at)cention(dot)se> >

> ERROR: CreateTrigger: function fix_status() does
> not exist
Andreas :

>
> Why doesn't the trigger acknowledge that I want to
> call fix_status with a
> parameter for which table name I should use?
>
> I'm completely stuck and I someone out there can
> help me.

- Trigger procedures cannot have paramaters. Use the
variable TG_ARGV[] to access the arguments passed to
the trigger.

ludwig.

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Bhuvan A 2002-08-21 09:13:21 Re: Trigger/Function problem
Previous Message Andreas Johansson 2002-08-21 07:34:20 Trigger/Function problem