Re: language "plpgsql" does not exist
От
A.Bhuvaneswaran
Тема
Re: language "plpgsql" does not exist
Дата
Msg-id
Pine.LNX.4.44.0305231756160.2714-100000@Bhuvan.bksys.co.in
Ответ на
language "plpgsql" does not exist (Bruce Young)
Список
Дерево обсуждения
Re: language "plpgsql" does not exist "David Witham" <davidw@unidial.com.au>
> i am trying to create functions only to get the above error in return. > what do i need to do to get PL/PGSQL functions working? > example: > > CREATE FUNCTION logfunc1(text) RETURNS timestamp AS ' > DECLARE > logtxt ALIAS FOR $1; > BEGIN > INSERT INTO logtable VALUES (logtxt, ''now''); > RETURN ''now''; > END; > ' LANGUAGE plpgsql; > > # ERROR: language "plpgsql" does not exist The problem is, you have not installed the language 'plpgsql'. It can be done using createlang command. regards, bhuvaneswaran
В списке pgsql-sql по дате отправления