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

From A B
Subject Re: "The tuple structure of a not-yet-assigned record is indeterminate."
Date
Msg-id dbbf25900806300457u3d3d1b35l5e94d5690470b0e9@mail.gmail.com
Whole thread Raw
In response to Re: "The tuple structure of a not-yet-assigned record is indeterminate."  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Responses Re: "The tuple structure of a not-yet-assigned record is indeterminate."  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
List 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 by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: "The tuple structure of a not-yet-assigned record is indeterminate."
Next
From: "Albe Laurenz"
Date:
Subject: Re: Postgresql 8.3 Installer issue