Re: Unknown kind of return type specified for function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Unknown kind of return type specified for function
Дата
Msg-id 25160.1055700104@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Unknown kind of return type specified for function  (Avi Schwartz <avi@CFFtechnologies.com>)
Список pgsql-general
Avi Schwartz <avi@CFFtechnologies.com> writes:
> Tom,  your example showed me what my problem was.
> I was doing a 'select * from function(1,2,3)' instead for just 'select
> function(1,2,3)'

> Some of the error messages returned are so cryptic it is scary...

I agree, this one's pretty unhelpful, although in the original author's
defense I don't think he realized that users would actually get to see
this case.

As of a few seconds ago, CVS tip will say

ERROR:  function foo() in FROM has unsupported return type

which hopefully is a little more useful.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: full featured alter table?
Следующее
От: "Daniel Seichter"
Дата:
Сообщение: postgreSQL on NAS/SAN?