Re: Redundant explicit field name/types description while select from function with return type of record

Поиск
Список
Период
Сортировка
От Euler Taveira de Oliveira
Тема Re: Redundant explicit field name/types description while select from function with return type of record
Дата
Msg-id 47ED202D.2010302@timbira.com
обсуждение исходный текст
Ответ на Redundant explicit field name/types description while select from function with return type of record  (<Eugen.Konkov@aldec.com>)
Ответы Re: Redundant explicit field name/types description while select from function with return type of record  (Sam Mason <sam@samason.me.uk>)
Список 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 по дате отправления:

Предыдущее
От: Euler Taveira de Oliveira
Дата:
Сообщение: Re: FOR-IN-EXECUTE: FOR does not replanned on each entry to the FOR loop
Следующее
От: Sam Mason
Дата:
Сообщение: Re: Redundant explicit field name/types description while select from function with return type of record