From: Douglas McNaught <doug@mcnaught.org>
To: Bob Pawley <rjpawley@shaw.ca>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Postgre General <pgsql-general@postgresql.org>
Subject: Re: Error Message
Date: Wed, 26 Oct 2005 19:51:27 -0400
Message-ID: <m28xwfltvk.fsf@Douglas-McNaughts-Powerbook.local> (raw)
In-Reply-To: <041401c5da84$7429ec90$ac1d4318@OWNER>
References: <03a301c5da6e$a20b6280$ac1d4318@OWNER>
<11706.1130361821@sss.pgh.pa.us>
<041401c5da84$7429ec90$ac1d4318@OWNER>
Bob Pawley <rjpawley@shaw.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
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: doug@mcnaught.org, rjpawley@shaw.ca, tgl@sss.pgh.pa.us
Subject: Re: Error Message
In-Reply-To: <m28xwfltvk.fsf@Douglas-McNaughts-Powerbook.local>
References: <03a301c5da6e$a20b6280$ac1d4318@OWNER> <11706.1130361821@sss.pgh.pa.us> <041401c5da84$7429ec90$ac1d4318@OWNER> <m28xwfltvk.fsf@Douglas-McNaughts-Powerbook.local>
* 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