Re: [SQL] Howto convert floats to text?

Поиск
Список
Период
Сортировка
От Martin Leja
Тема Re: [SQL] Howto convert floats to text?
Дата
Msg-id 199906041721.NAA82580@hub.org
обсуждение исходный текст
Ответ на Re: [SQL] Howto convert floats to text?  (José Soares <jose@sferacarta.com>)
Ответы Re: [SQL] Howto convert floats to text?
Список pgsql-sql
At 14:51 04.06.99 +0200, you wrote:
>Use this PL/pgSQL script to create text(float), varchar(float), char(float):
>create function text(float) returns text as
>'begin
> return $1;
>end;
>' language 'plpgsql';

Thanks for the tip, but if i try the above, i get:
ERROR:  Unrecognized language specified in a CREATE FUNCTION: 'plpgsql'.
Recognized languages are sql, C, internal and the created procedural
languages.

what is pl/pgsql? I using postgres 6.3.2 (slink/stable debian package), do
i hve to upgrade to a higer version, or is this plpgsql thing to be
installed separately?

--
Regards, martin@unix-ag.org


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

Предыдущее
От: Michael J Davis
Дата:
Сообщение: RE: [SQL] RV: A little problem updating data with views
Следующее
От: wieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: [SQL] RV: A little problem updating data with views