Re: Junk queries with variables?

Поиск
Список
Период
Сортировка
От Sean Davis
Тема Re: Junk queries with variables?
Дата
Msg-id 006f01c51d88$1e60b820$1f6df345@WATSON
обсуждение исходный текст
Ответ на Re: Junk queries with variables?  ("Steve Valaitis" <steve@digitalnothing.com>)
Список pgsql-sql
----- Original Message ----- 
From: "Steve Valaitis" <steve@digitalnothing.com>
To: "KÖPFERL Robert" <robert.koepferl@sonorys.at>; 
<pgsql-sql@postgresql.org>
Sent: Thursday, February 24, 2005 12:15 PM
Subject: Re: [SQL] Junk queries with variables?


> >
>> In pgadmins SQL-window SQL is the 'language' of choice. Or it is
>> rather the
>> only language. Thus if you intend to program plTk or PL/pgSQL, there's no
>> way around defining a function.
>>
>> (At first you have to define a new language in your schema)
>
> I'm a little confused, is there no way around this, or are you saying I 
> need
> to use CREATE LANGUAGE to define a new language to use? Currently the only
> language I have for the DB is plpgsql.

Yes.  You need to install the language into the database using CREATE 
LANGUAGE and then you can use the language to create functions.

Sean




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

Предыдущее
От: Aarni Ruuhimäki
Дата:
Сообщение: Re: Read count ?
Следующее
От: Din Adrian
Дата:
Сообщение: Re: SQL error: function round(double precision, integer) does not exist