Re: Qestion about CREATE FUNCTION

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Qestion about CREATE FUNCTION
Дата
Msg-id 1646.1015018892@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Qestion about CREATE FUNCTION  ("Cornelia Boenigk" <poppcorn@cornelia-boenigk.de>)
Список pgsql-general
"Cornelia Boenigk" <poppcorn@cornelia-boenigk.de> writes:
> Could anybody explain this behaviour?

See
http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/xfunc-sql.html
which says in part:

    In the present release of PostgreSQL there are some unpleasant
    restrictions on how functions returning composite types can be
    used. Briefly, when calling a function that returns a row, we cannot
    retrieve the entire row. We must either project a single attribute out
    of the row or pass the entire row into another function. (Trying to
    display the entire row value will yield a meaningless number.)

            regards, tom lane

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

Предыдущее
От: Jean-Luc Lachance
Дата:
Сообщение: Re: improving performance of UNION and ORDER BY
Следующее
От: Francisco Reyes
Дата:
Сообщение: Shared buffers vs large files