ERROR: language "plpgsql" does not exist

Поиск
Список
Период
Сортировка
От Michael
Тема ERROR: language "plpgsql" does not exist
Дата
Msg-id b0pra1$66l$1@news.hub.org
обсуждение исходный текст
Ответы Re: ERROR: language "plpgsql" does not exist  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
I just installed the PostgreSQL7.3.1 on a linux server and trying to create
a function .

I got the
ERROR:  language "plpgsql" does not exist

Why?  How can I solve this ?

-- script
CREATE FUNCTION sales_tax(INTEGER) RETURNS REAL AS
 '
 DECLARE
        subtotal ALIAS FOR $1;
 BEGIN
        return subtotal * 0.06;
 END;
 ' Language 'plpgsql';


--
-
Best Regards

              /'"`\  zzzZ  |
             ( - - )          |
---oooO--(_)--Oooo-----------------------------------------------------
Life Is A Journey,  Enjoy The Ride.
**********************************************************************
Michael Shi             Database Developer






В списке pgsql-general по дате отправления:

Предыдущее
От: "Sid"
Дата:
Сообщение: ecpg help with 7.3
Следующее
От: gianpaolo racca
Дата:
Сообщение: Re: list server problems?