Re: Question on pgpsql function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Question on pgpsql function
Дата
Msg-id 11751.1176074446@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Question on pgpsql function  (Karthikeyan Sundaram <skarthi98@hotmail.com>)
Список pgsql-admin
Karthikeyan Sundaram <skarthi98@hotmail.com> writes:
>  I am getting an error message
> ERROR:  function substr(bit, integer, integer) does not existHINT:  No func=
> tion matches the given name and argument types. You may need to add explici=
> t type casts.CONTEXT:  SQL function "week_func"

I think you want substring() not substr().

            regards, tom lane

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: [SQL] Question on pgpsql function
Следующее
От: Karthikeyan Sundaram
Дата:
Сообщение: Another question in functions