Re: Unrecognized language Error

From: Jan Wieck <janwieck(at)yahoo(dot)com>
To: Ben-Nes Michael <miki(at)canaan(dot)co(dot)il>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Unrecognized language Error
Date: 2002-01-23 19:01:04
Message-ID: 200201231901.g0NJ14q15466@saturn.janwieck.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ben-Nes Michael wrote:
[Charset windows-1255 unsupported, skipping...]

^^^^ First major mistake!!!!

> Hi All
>
> I installed plpgsql with createlang but still I can use it.
>
> Here is a Snip:
>
> $ /usr/local/pgsql/bin/createlang -l -d comp.canaan.co.il
> Procedural languages
> Name | Trusted? | Compiler
> ---------+----------+----------
> plpgsql | t | PL/pgSQL
> (1 row)
>
>
> comp.canaan.co.il=# CREATE FUNCTION addnumbers (INTEGER, INTEGER) RETURNS
> INTEGER AS '
> comp.canaan.co.il'# DECLARE
> comp.canaan.co.il'# v1 ALIAS FOR $1;
> comp.canaan.co.il'# v2 ALIAS FOR $2;
> comp.canaan.co.il'# BEGIN
> comp.canaan.co.il'# RETURN v1 + v2;
> comp.canaan.co.il'# END;'
> comp.canaan.co.il-# LANGUAGE 'plpgpsql';

^^^^^^^^

What about a little nap? Catching some sleep every other day
helps ... sometimes :-)

Jan

> ERROR: Unrecognized language specified in a CREATE FUNCTION: 'plpgpsql'.
> Recognized languages are sql, C, internal, and created procedural
> languages.
> comp.canaan.co.il=#

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vince Vielhaber 2002-01-23 19:05:58 Re: Canadian website mirror
Previous Message Dmitry Alyabyev 2002-01-23 18:58:27 Re: Permissions on non-owned database