Re: dblink / plpgsql - definition list cheats for record

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: dblink / plpgsql - definition list cheats for record
Дата
Msg-id 4552F449.8020203@archonet.com
обсуждение исходный текст
Ответ на dblink / plpgsql - definition list cheats for record returning functions?  (Matthew Peter <survivedsushi@yahoo.com>)
Ответы Re: dblink / plpgsql - definition list cheats for record
Список pgsql-general
Matthew Peter wrote:
> Is there any way to use CREATE TYPE or an VIEW/TABLE defintion list instead of
> manually defining it?

Yes, just define your function as returning that type rather than
RECORD. That way the calling context will know what to expect.

--
   Richard Huxton
   Archonet Ltd

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