From: | Karel Zak <zakkr(at)zf(dot)jcu(dot)cz> |
---|---|
To: | p(dot)lam(at)altavista(dot)net |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Pg/PLSQL Errors!! |
Date: | 2000-05-30 16:37:37 |
Message-ID: | Pine.LNX.3.96.1000530183604.18344O-100000@ara.zf.jcu.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Tue, 30 May 2000 p(dot)lam(at)altavista(dot)net wrote:
> I am running PostgreSQL 6.5.3 on RedHat Linux 6.1 on a PC.
> I am trying to use Pg/PLSQL.
>
> I even tried being conservative enough to copy the example code from
> http://www.postgresql.org/docs/user/c40874340.htm as follows:
> CREATE FUNCTION add_one (int4) RETURNS int4 AS '
> BEGIN
> RETURN $1 + 1;
> END;
> ' LANGUAGE 'plpgsql';
>
>
> though, even that results in "ERROR: Unrecognized language specified in a CREATE FUNCTION: 'pl-pgsql'. Recognized languages are sql, C, internal and
> the created procedural languages."
>
> I have tried variants including PLSQL,PG/PLSQL,PL/SQL,PGSQL and even 'internal
> procedural language(s)' and 'created procedural language(s)' though with the same error.
>
> Does anyone know of the name of the postgreSQL's procedural language of form like
> CREATE function funcName(arguments) returns returntype AS 'BEGIN
> statement block END;' LANGUAGE '??????';
Do you install this language in your DB? See the script 'createlang' in PG
binary tree.
Karel
From | Date | Subject | |
---|---|---|---|
Next Message | Tulassay Zsolt | 2000-05-30 16:57:32 | Re: Pg/PLSQL Errors!! |
Previous Message | p.lam | 2000-05-30 16:36:34 | Pg/PLSQL Errors!! |