Обсуждение: Re: pgplsql and parameters question

Поиск
Список
Период
Сортировка

Re: pgplsql and parameters question

От
"Gaetano Mendola"
Дата:
> 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

От
"Gaetano Mendola"
Дата:
"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

От
Alex Sandini
Дата:
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
>
>
>