Re: "The tuple structure of a not-yet-assigned record is indeterminate."
В списке pgsql-general по дате отправления:
| От | A. Kretschmer |
|---|---|
| Тема | Re: "The tuple structure of a not-yet-assigned record is indeterminate." |
| Дата | |
| Msg-id | 20080630120349.GH13270@a-kretschmer.de обсуждение |
| Ответ на | Re: "The tuple structure of a not-yet-assigned record is indeterminate." ("A B" <gentosaker@gmail.com>) |
| Ответы |
Re: "The tuple structure of a not-yet-assigned record is indeterminate."
|
| Список | pgsql-general |
am Mon, dem 30.06.2008, um 13:57:22 +0200 mailte A B folgendes: > > Sure, declare your result like my example: > > > > test=# create or replace function ab() returns setof record as $$declare r record; begin select into r 1,2;return nextr;end;$$language plpgsql; > > Unfortunatly I have not the luxury of creating the record with a > single SELECT command. You have only quotet (and read?) my function, but not the select. Again: test=*# select * from ab() as (i int, j int); i | j ---+--- 1 | 2 (1 row) Look at the part after the function-call... Regards, Andreas -- Andreas Kretschmer Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header) GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера