Re: Problem with return type of function ???

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Problem with return type of function ???
Дата
Msg-id 4AE044C6.8010306@archonet.com
обсуждение исходный текст
Ответ на Problem with return type of function ???  (Denis BUCHER <dbucherml@hsolutions.ch>)
Ответы Re: Problem with return type of function ???  (Denis BUCHER <dbucherml@hsolutions.ch>)
Список pgsql-sql
Denis BUCHER wrote:
> 
> 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".

--  Richard Huxton Archonet Ltd


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

Предыдущее
От: Thomas Pundt
Дата:
Сообщение: Re: @@Error equivalent in Postgresql
Следующее
От: Denis BUCHER
Дата:
Сообщение: Re: Problem with return type of function ???