Thread: Re: pgplsql and parameters question

Re: pgplsql and parameters question

From
"Gaetano Mendola"
Date:
> 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



Re: pgplsql and parameters question

From
"Gaetano Mendola"
Date:
"Alex Sandini" <asandini@keyware.com> wrote in message
news:3D7F5C34.1000809@keyware.com...
> Please, dont't post useless messages
> Alex

?? Was useless, this mean that is not problem of Postgres but your side
installation
problem.

Ciao
Gaetano.



Re: pgplsql and parameters question

From
Alex Sandini
Date:
Please, dont't post useless messages
Alex

Gaetano Mendola wrote:

>>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
>
>
>