Re: triggers problems whit function

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Fernando Moreno <azazel(dot)7(at)gmail(dot)com>, "Ma(dot) Cristina Peña C(dot)" <mpena(at)sensacd(dot)com(dot)mx>, pgsql-general(at)postgresql(dot)org
Subject: Re: triggers problems whit function
Date: 2008-10-23 06:39:19
Message-ID: 49001C17.7030200@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane a écrit :
> Guillaume Lelarge <guillaume(at)lelarge(dot)info> writes:
>> Fernando Moreno a écrit :
>>> A trigger function must have a specific structure, it takes no arguments
>
>> It can take arguments.
>
> No, it can't. At least not in the declaration.
>

Oops, you're right. Arguments shouldn't be declared, but can be used in
the body of a PL/pgsql trigger function.

Sorry about this.

--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Aarni 2008-10-23 09:53:38 Re: Shopping cart
Previous Message Grzegorz Jaśkiewicz 2008-10-23 00:38:40 Re: join question