Re: Problem with return type of function ???

Поиск
Список
Период
Сортировка
От Denis BUCHER
Тема Re: Problem with return type of function ???
Дата
Msg-id 4AE046B7.5070805@hsolutions.ch
обсуждение исходный текст
Ответ на Re: Problem with return type of function ???  (Richard Huxton <dev@archonet.com>)
Ответы Re: Problem with return type of function ???  (Richard Huxton <dev@archonet.com>)
Список pgsql-sql
Richard Huxton a écrit :
>> ERREUR:  wrong record type supplied in RETURN NEXT
>> CONTEXTE : PL/pgSQL function "hds_bw_find_sn_live" line 26 at return next
>>
>> Does someone maybe knows what it could be ?
>>
>> This is (a part of) my function :
>>
>>> CREATE OR REPLACE FUNCTION rma.find_sn_live (varchar(30)) RETURNS SETOF rma.serial_number
> 
> This is a different function. Function "hds_bw_find_sn_live" has the
> wrong type for its "return next".

Hello,

Thanks a lot for your reply : the difference in name is just a mistake
in my email but in fact it is the same function, I just renamed it wrong
when  doing the "cleaning" before posting my email...

Denis


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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Problem with return type of function ???
Следующее
От: Denis BUCHER
Дата:
Сообщение: Problem with return type of function ??? (corrected)