Re: Redundant explicit field name/types description while select from function with return type of record - Mailing list pgsql-bugs

From Euler Taveira de Oliveira
Subject Re: Redundant explicit field name/types description while select from function with return type of record
Date
Msg-id 47ED202D.2010302@timbira.com
Whole thread Raw
In response to Redundant explicit field name/types description while select from function with return type of record  (<Eugen.Konkov@aldec.com>)
Responses Re: Redundant explicit field name/types description while select from function with return type of record
List pgsql-bugs
Eugen.Konkov@aldec.com wrote:

> a column definition list is required for functions returning "record"
> It seems a BUG
>
I don't think so. We can say it is a missing feature. As stated in [1],
record types don't have a predefined structure -- they're placeholders.
How do you know the row structure before hand? Its structure can be
changed on-the-fly.

> Are you agree with my suggestion? If so will you plan to fix this BUG?
>
>
TODO?


[1]
http://www.postgresql.org/docs/8.3/static/plpgsql-declarations.html#PLPGSQL-DECLARATION-RECORDS


--
   Euler Taveira de Oliveira
   http://www.timbira.com/

pgsql-bugs by date:

Previous
From: Euler Taveira de Oliveira
Date:
Subject: Re: FOR-IN-EXECUTE: FOR does not replanned on each entry to the FOR loop
Next
From: Sam Mason
Date:
Subject: Re: Redundant explicit field name/types description while select from function with return type of record