Re: Error Message

From: Douglas McNaught <doug(at)mcnaught(dot)org>
To: Bob Pawley <rjpawley(at)shaw(dot)ca>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Postgre General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Error Message
Date: 2005-10-26 23:51:27
Message-ID: m28xwfltvk.fsf@Douglas-McNaughts-Powerbook.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bob Pawley <rjpawley(at)shaw(dot)ca> writes:

> I'm not sure what you mean.
>
> base(int4) is the name of the function that I want to call. It follows
> the format of an example in a Postgresql book I use (or perhaps
> misuse).
>
> Are you saying that I need to redo the function???

You need to make it a function that takes zero arguments. Trigger
functions take their arguments in a weird way, not via the usual
mechanism. See the docs.

-Doug

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Cristian Prieto 2005-10-27 00:14:23 Variable return type...
Previous Message Terry Lee Tucker 2005-10-26 23:45:19 Re: Error Message