Re: question on function definitions/casts

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: question on function definitions/casts
Дата
Msg-id 20020220135921.X5356-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на question on function definitions/casts  (Cindy <ctmoore@uci.edu>)
Ответы Re: question on function definitions/casts
Список pgsql-general
On Wed, 20 Feb 2002, Cindy wrote:

> I get:
>
> Text=# create function get_citation (int2, int2, int4)
> Text-# returns SETOF varchar AS
> Text-# 'select citation from citations where aid=$1 and wid=$2 and byteloc=$3'
> Text-# LANGUAGE 'SQL';
> ERROR:  Unable to identify an operator '=$' for types 'int2' and 'int4'
>         You will have to retype this query using an explicit cast
> Text=#

Hmm, try putting a space between the = and the $<n>




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

Предыдущее
От: Cindy
Дата:
Сообщение: question on function definitions/casts
Следующее
От: "Bryan White"
Дата:
Сообщение: Re: Ordering 'A', 'B', ..., 'Z', 'AA', 'AB', ...