Re: "The tuple structure of a not-yet-assigned record is indeterminate."

Поиск
Список
Период
Сортировка
От A B
Тема Re: "The tuple structure of a not-yet-assigned record is indeterminate."
Дата
Msg-id dbbf25900806300457u3d3d1b35l5e94d5690470b0e9@mail.gmail.com
обсуждение исходный текст
Ответ на Re: "The tuple structure of a not-yet-assigned record is indeterminate."  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Ответы Re: "The tuple structure of a not-yet-assigned record is indeterminate."
Список pgsql-general
> 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.
Isn't there a way around this problem? I really do not want to try to
write it as a single SELECT command. There must be a way of telling it
what structure the record will have?

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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: "The tuple structure of a not-yet-assigned record is indeterminate."
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Postgresql 8.3 Installer issue