Re: What is made a mistake with SP?

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: What is made a mistake with SP?
Дата
Msg-id 61D888E7-6A79-48BD-BDF1-E577D28AAA3D@pgedit.com
обсуждение исходный текст
Ответ на Re: What is made a mistake with SP?  (Marcos <mjs_ops@gmx.net>)
Список pgsql-general
On Jan 23, 2006, at 8:34 AM, Marcos wrote:

> ERROR: type "tipo_compras_calculado" not exists.

You have a set returning function (RETURNS setof
tipo_compras_calculado), so this means you need to declare this type.
So you should have a CREATE TYPE statement somewhere which defines
the fields of tipo_compras_calculado. Something like:

CREATE TYPE tipo_compras_calculado (
    id text,
    produto integer,
...
);


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: invalid memory alloc request size
Следующее
От: "Praveen Kumar (TUV)"
Дата:
Сообщение: Full Text Indexing Using Tsearch2-Module