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

From Alex Sandini
Subject Re: pgplsql and parameters question
Date
Msg-id 3D7F5C34.1000809@keyware.com
Whole thread Raw
In response to Re: pgplsql and parameters question  ("Gaetano Mendola" <mendola@bigfoot.com>)
List pgsql-general
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
>
>
>


pgsql-general by date:

Previous
From: Justin Hawkins
Date:
Subject: Re: psql: \pset pager 'always'?
Next
From: "David D. Kilzer"
Date:
Subject: [SCRIPT] pgrefchk -- checks referential integrity of foreign keys on tables