Re: pgplsql and parameters question

From: "Gaetano Mendola" <mendola(at)bigfoot(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: pgplsql and parameters question
Date: 2002-09-11 14:29:57
Message-ID: alnk0v$2qd4$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Alex Sandini wrote:
>
> > I don't get parameters working in my pgplsql functions.
> > I.e.:
> >
> > CREATE FUNCTION add_one (INTEGER) RETURNS INTEGER AS '
> > BEGIN
> > RETURN ($1 + 1);
> > END;
> > ' LANGUAGE 'plpgsql';
> >
> > Does not work's for me, while the following one works just fine.

I tried this on:
Postgres 7.1.3
and Postgres 7.2.2 without problems.

Ciao
Gaetano

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2002-09-11 14:31:00 Re: Mailing lists archive search
Previous Message Alex Sandini 2002-09-11 14:16:07 Re: pgplsql and parameters question