Re: pgplsql and parameters question - Mailing list pgsql-general

From Gaetano Mendola
Subject Re: pgplsql and parameters question
Date
Msg-id alnk0v$2qd4$1@news.hub.org
Whole thread Raw
List 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



pgsql-general by date:

Previous
From: Antti Haapala
Date:
Subject: psql: \pset pager 'always'?
Next
From: Bruce Momjian
Date:
Subject: Re: Mailing lists archive search